import { Construct } from "aws-cdk-lib"; import { UserPool, UserPoolClient } from "aws-cdk-lib/aws-cognito"; import { Routing } from "../routing"; export interface AuthenticationProps { /** * Routing to use for custom domains * * If present, the UserPool will be aliased to the auth domain name * * @default - The UserPool will not use a custom domain name */ routing?: Routing; } /** * A Construct to create the application's user authentication */ export declare class Authentication extends Construct { readonly userPool: UserPool; readonly userPoolClient: UserPoolClient; constructor(scope: Construct, props: AuthenticationProps); private createAuthClient; private createAuthDomain; }