import { CfnUserPool, CfnIdentityPool } from '@aws-cdk/aws-cognito'; import { BaseIncludedStack } from '../base-included-stack'; /** * @stability stable */ export interface ProviderCredential { /** * @stability stable */ readonly providerName: 'Facebook' | 'Google' | 'LoginWithAmazon'; /** * @stability stable */ readonly clientId: string; /** * @stability stable */ readonly clientSecret: string; } /** * @stability stable */ export interface IAuthIncludeNestedStack { /** * @returns Cognito UserPool {CfnUserPool} of the auth stack * @stability stable * @throws {} */ userPool(): CfnUserPool; /** * @returns of the auth stack * @stability stable */ identityPool(): CfnIdentityPool; /** * used to provide the hosted UI for federated auth. * * @stability stable */ hostedUiProviderCredentials(credentials: ProviderCredential[]): void; } export declare class AuthIncludedNestedStack extends BaseIncludedStack implements IAuthIncludeNestedStack { hostedUiProviderCredentials(credentials: ProviderCredential[]): void; userPool(): CfnUserPool; identityPool(): CfnIdentityPool; }