import { ActivatedRouteSnapshot, CanActivateFn, RouterStateSnapshot } from "@angular/router"; /** * Resolves a feature flag route guard to a boolean result. * * @param flagKey - The key of the feature flag to check * @param route - The activated route snapshot passed to the guard * @param state - The router state snapshot passed to the guard * @returns A boolean that is true only when the feature flag guard allows access * */ export declare const resolveFeatureFlagGuard: (flagKey: string, route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => Promise; /** * Creates a route guard that checks if a specific feature flag is enabled before allowing access. * * @param flagKey - The key of the feature flag to check * @returns A CanActivateFn that returns true if the feature flag is enabled, false otherwise * */ export declare function featureFlagGuard(flagKey: string): CanActivateFn; /** * Creates a route guard that redirects when a specific feature flag is not enabled. * * @param flagKey - The key of the feature flag to check * @param redirectPath - The path to redirect to when the feature flag is not enabled * @returns A CanActivateFn that returns true if the feature flag is enabled, otherwise a UrlTree * */ export declare function featureFlagRedirectGuard(flagKey: string, redirectPath?: string): CanActivateFn;