import { AuthConfig } from './Authentication'; import { AwsCredentialIdentity } from '@aws-sdk/types'; import { Authentication } from './Authentication'; export declare class EnhancedAuthentication extends Authentication { constructor(config: AuthConfig, applicationId: string); /** * Provides credentials for an anonymous (guest) user. These credentials are retrieved from Cognito's enhanced * authflow. * * See https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html * * Implements AwsCredentialIdentityProvider = Provider */ protected AnonymousCognitoCredentialsProvider: () => Promise; }