import { NavigationGuard, RouteLocationNormalized, RouteLocationRaw } from 'vue-router'; /** * Reset auth initialization state * Useful for testing or app reload scenarios */ export declare function resetAuthState(): void; /** * Auth guard for Vue Router * * Protects routes requiring authentication and handles redirect logic. * Reads configuration from the auth instance created via createAuth(). * * @example * ```ts * const auth = createAuth({ * baseURL: 'https://api.example.com', * redirect: { ... } * }) * router.beforeEach(authGuard()) * ``` */ export declare function authGuard(): (to: RouteLocationNormalized, _from: RouteLocationNormalized) => Promise; /** * Compose multiple navigation guards into one * Guards are executed in order, stopping at the first one that returns a redirect * * @example * ```ts * router.beforeEach(composeGuards([ * authGuard(), * orgAccessGuard(), * featureFlagGuard(), * ])) * ``` */ export declare function composeGuards(guards: NavigationGuard[]): NavigationGuard;