import { Context } from 'react'; import { FC } from 'react'; import { PropsWithChildren } from 'react'; export declare const GeolocationContext: Context; export declare interface GeolocationContextProps { geolocationPermission: PermissionState | null; requestGeolocationPermission: () => void; location: GeolocationPosition | null; error: GeolocationPositionError | null; } export declare const ProviderGeolocation: FC; export declare type ProviderGeolocationProps = PropsWithChildren & { isAskEntrance?: boolean; }; export declare const useGeolocation: () => GeolocationContextProps; export { }