///
import { Url, UrlObject } from "url";
type ParamListBase = {
[x: string]: object | undefined;
};
type Keyof = Extract;
type Href = string | UrlObject & {
target?: string;
};
export type RouterProps> = T[K];
export declare function useRouter>(): {
query: Query;
push: (href: Href, as?: Url) => Window | undefined;
reset: (href: Href, as?: Url) => Window | undefined;
replace: (href: Href, as?: Url) => Window | undefined;
back: () => void;
pathname: string;
isReady: boolean;
};
export {};