import { InjectionToken } from '@outposts/injection-js';
import type { AnyRouter } from '@tanstack/solid-router';
import type { AuthFeature } from '../../features';
import { AbstractRouter } from '../../router';
export type TanStackRouter = AnyRouter;
export declare const TANSTACK_ROUTER: InjectionToken<AnyRouter>;
export declare class TanStackRouterAdapter implements AbstractRouter<string> {
    private router;
    private beforeLoadToLocation;
    private destoryRef$;
    constructor();
    navigateByUrl(url: string): void;
    getCurrentNavigation(): {
        extractedUrl: string;
    };
}
export declare function withTanstackRouter(router: TanStackRouter): AuthFeature;
//# sourceMappingURL=solid-router.d.ts.map