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