import { HttpHandler } from '@smithy/protocol-http'; import { AwsCredentialIdentity } from '@aws-sdk/types'; interface OpenIdTokenResponse { IdentityId: string; Token: string; } interface GetIdResponse { IdentityId: string; } export declare type CognitoIdentityClientConfig = { fetchRequestHandler: HttpHandler; region?: string; clientConfig?: any; applicationId?: string; }; export declare class CognitoIdentityClient { private fetchRequestHandler; private hostname; private identityStorageKey; private config?; constructor(config: CognitoIdentityClientConfig); getId: (request: { IdentityPoolId: string; }) => Promise; getOpenIdToken: (request: { IdentityId: string; }) => Promise; getCredentialsForIdentity: (identityId: string) => Promise; private validateOpenIdTokenResponse; private validateCredenentialsResponse; private getHttpRequest; } export {};