///
export interface Options {
navigateMode?: 'push' | 'replace';
scope?: boolean;
}
interface UrlState {
[key: string]: any;
}
export declare const useUrlState: (initialState?: S | (() => S) | undefined, options?: Options | undefined) => readonly [Partial<{ [key in keyof S]: any; }>, (s: import("react").SetStateAction>) => void];
export {};