import { CanActivateFn } from '@angular/router'; /** * Creates a guard function that checks user claims and executes pre-check policies for route activation. * * @param {boolean} [checkChildRoutes=true] - Whether to check child routes recursively. * @returns {CanActivateFn} - A guard function that determines if the route can be activated. * * The guard function performs the following steps: * 1. Iterates through the route and its child routes (if `checkChildRoutes` is true). * 2. For each route, it checks if there is a guard defined in the route configuration. * 3. If a guard is defined, it (optionally) performs a pre-check step based on the guard's `preCheckPolicy`. * 4. If the pre-check step is successful, it checks if the user has the required claim. * 5. If the user does not have the required claim, it executes the guard's redirect function if defined. * 6. Returns `true` if all checks pass, otherwise returns the result of the first failed check. */ export declare function claimGuard(checkChildRoutes?: boolean): CanActivateFn;