import { z } from 'zod'; /** * Zod Schema for the core IP details returned by the ip-api.com JSON endpoint. * Includes common fields and optional extended fields. */ export declare const IPDetailSchema: z.ZodObject<{ status: z.ZodString; message: z.ZodOptional; query: z.ZodOptional; country: z.ZodOptional; countryCode: z.ZodOptional; region: z.ZodOptional; regionName: z.ZodOptional; city: z.ZodOptional; zip: z.ZodOptional; lat: z.ZodOptional; lon: z.ZodOptional; timezone: z.ZodOptional; isp: z.ZodOptional; org: z.ZodOptional; as: z.ZodOptional; asname: z.ZodOptional; reverse: z.ZodOptional; mobile: z.ZodOptional; proxy: z.ZodOptional; hosting: z.ZodOptional; }, z.core.$strip>; /** * TypeScript type inferred from the IPDetailSchema. * Represents the expected structure of a successful ip-api.com response. */ export type IPDetail = z.infer; /** * Options specifically for the ip-api.com request within the service. * Used by the service layer when calling fetchIpApi. */ export type IPApiRequestOptions = { useHttps?: boolean; fields?: string[]; lang?: string; };