import { LocationAndEtaDetailType } from "../base/types"; export declare type LocationStateType = { location: LocationAndEtaDetailType; timestamp: number; }; export declare type UseLocationType = () => LocationStateType; /** * use useLocation hook to obtain latest location. */ export declare const useLocation: UseLocationType; /** * use useLastNotifiedLocation hook to obtain the latest location * that we have notified to slow-listeners (ie: socket) */ export declare const useLastNotifiedLocation: UseLocationType;