export type UseHistoryRouteOptions<R> = {
    parse: (pathname: string, search: string) => R;
    build: (route: R) => string;
};
export declare function useHistoryRoute<R>(options: UseHistoryRouteOptions<R>): [R, (next: Partial<R> | ((prev: R) => R)) => void];
//# sourceMappingURL=use-history-route.d.ts.map