import { PropsWithChildren } from 'react'; export type IGeolocationProvider = PropsWithChildren & { isAskEntrance?: boolean; }; export interface IGeolocationContext { geolocationPermission: PermissionState | null; requestGeolocationPermission: () => void; location: GeolocationPosition | null; error: GeolocationPositionError | null; }