import type { Router } from '@diplodoc/components';
export interface RouterConfig extends Router {
    depth: number;
}
export declare const RouterContext: import("react").Context<RouterConfig>;
export declare const RouterProvider: import("react").Provider<RouterConfig>;
export declare function useRouter(): RouterConfig;
