import type { z } from "zod"; import type { AutonomousNumberSchema, DomainSchema, EntitySchema, EventSchema, IpNetworkSchema, LinkSchema, NameserverSchema, TargetTypeEnum, RegisterSchema, StatusEnum, RootRegistryEnum, } from "@/schema"; // All precise target types that can be placed in the search bar. export type TargetType = z.infer; // Target types that can be selected by the user; IPv4 and IPv6 are combined into a single type for simplicity (IP/CIDR) export type SimplifiedTargetType = Exclude | "ip"; // Root registry types that associate with a bootstrap file provided by the RDAP registry. export type RootRegistryType = z.infer; export type RdapStatusType = z.infer; export type Link = z.infer; export type Entity = z.infer; export type Nameserver = z.infer; export type Event = z.infer; export type IpNetwork = z.infer; export type AutonomousNumber = z.infer; export type Register = z.infer; export type Domain = z.infer; export type SubmitProps = { target: string; requestJSContact: boolean; followReferral: boolean; };