import type { Region } from '@evershop/evershop/lib/address/types'; /** * Active regions below `parentPath` for a country (spec § 3.3, § 3.9), fetched * lazily: paused until the country and every parent key are known. Retired * keys never come back, so a stored retired value shows the invalid marker in * the select. Cached by urql per `(country, parentPath)`. */ export declare const RegionsQuery = "\n query AddressRegions($country: String!, $parentPath: [String!]) {\n regions(country: $country, parentPath: $parentPath) {\n key\n name\n isoCode\n }\n }\n"; export declare function useRegions(country: string | null | undefined, parentPath: string[], pause?: boolean): { regions: Region[]; fetching: boolean; error: Error | undefined; };