import { RoutePath } from '../routing/routes'; import { RouteAuthConfig, Role, Permission } from './types'; /** * Mapping of routes to required roles/permissions. */ export declare const routeMetadata: Partial>; /** * Get the auth configuration for a route */ export declare function getRouteAuthConfig(path: string): RouteAuthConfig; /** * Check if a user can access a route */ export declare function canAccessRoute(routeConfig: RouteAuthConfig, user: { roles: Role[]; permissions: Permission[]; } | null): boolean;