import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Coordinates } from "./coordinates.js"; export type Location = { /** * The English name of the detected city. */ city?: string | undefined; /** * The English name of the detected continent (North America, Europe, Asia, South America, Africa, Oceania, Antarctica). */ continent?: string | undefined; coordinates?: Coordinates | undefined; /** * The English name of the detected country. */ country?: string | undefined; /** * The detected two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...). */ countryCode?: string | undefined; /** * The postal code (if applicable) of the detected location. */ postalCode?: string | undefined; /** * The state or province name of the detected location. */ province?: string | undefined; /** * The English name of the registered country. */ registeredCountry?: string | undefined; /** * The registered country's two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...). */ registeredCountryCode?: string | undefined; /** * The IANA time zone database name of the detected location. */ timezone?: string | undefined; }; /** @internal */ export declare const Location$inboundSchema: z.ZodType; export declare function locationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=location.d.ts.map