export interface Path {
    pathname?: string;
    search?: string;
    hash?: string;
}
export type To = string | Path;
export type NavigateArg = To | number;
export type RelativeRoutingType = 'route' | 'path';
export interface NavigateOptions {
    replace?: boolean;
    state?: unknown;
    relative?: RelativeRoutingType;
    preventScrollReset?: boolean;
}
export type NavigateLike = {
    (to: To, options?: NavigateOptions): void;
    (delta: number): void;
};
export interface NavigationAdapter {
    useHref: (to: To, options?: {
        relative?: RelativeRoutingType;
    }) => string;
    useNavigate: () => NavigateLike;
}
