import { ReactNode } from 'react'; import { CountryData } from './countries'; export interface GeographyContextValue { /** Currently selected country */ country: CountryData | null; /** ISO country code */ countryCode: string | null; /** Active currency code */ currency: string; /** Active timezone */ timezone: string; /** Whether geography is loading */ loading: boolean; /** Whether geography was auto-detected */ autoDetected: boolean; /** Set country by ISO code */ setCountry: (code: string) => void; /** Override currency (independent of country) */ setCurrency: (currency: string) => void; /** Override timezone (independent of country) */ setTimezone: (timezone: string) => void; } export interface GeographyProviderProps { children: ReactNode; /** Profile ID for scoped storage (from auth) */ profileId?: string | null; /** Default country code if detection fails */ defaultCountry?: string; /** Whether to enable auto-detection via GPS/timezone */ enableAutoDetect?: boolean; /** Callback when geography changes (for persisting to backend) */ onGeographyChange?: (geo: { country: string; currency: string; timezone: string; }) => void; } export declare function useGeography(): GeographyContextValue; export declare function GeographyProvider({ children, profileId, defaultCountry, enableAutoDetect, onGeographyChange, }: GeographyProviderProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=GeographyProvider.d.ts.map