import type { ComponentType } from 'react';
import type { RouterType } from '../types';
interface RouterProps {
    basename?: string;
    location?: string;
}
export declare const useRouter: (router: RouterType, basePath: string) => {
    Router: ComponentType<{
        children?: import("react").ReactNode;
    }>;
    routerProps: RouterProps;
};
export {};
