import type { Location } from 'history';
interface UseRegisterRouteOptions {
    isPublic: boolean;
    attemptSilentAuth?: boolean;
}
/**
 * Registers the current route in the registry and keeps the current path in sync.
 * Returns the current location so callers can reuse it without calling useLocation again.
 */
export declare const useRegisterRoute: ({ isPublic, attemptSilentAuth }: UseRegisterRouteOptions) => Location<unknown>;
export {};
//# sourceMappingURL=useRegisterRoute.d.ts.map