import { CustomerStateDataType } from "./types"; import CustomerSocket, { InitiateRideParamsType } from "./socket"; import { SocketStateType } from "../base"; import { ETAType, LocationObjectType } from "../base/types"; export declare const useCustomerSocket: () => CustomerSocket | undefined; export declare type CustomerSocketStateSelectorType = (state: SocketStateType) => any; export declare const useCustomerSocketState: (selector?: CustomerSocketStateSelectorType) => any; export declare type CustomerSocketActionsType = { sendLocation: (location: LocationObjectType) => void; initiateRide: (initiateRideParams: InitiateRideParamsType) => void; cancelRide: (eta?: ETAType) => void; }; export declare const useCustomerSocketActions: () => CustomerSocketActionsType;