import { ObjectCache } from './object.cache'; import * as AWS from 'aws-sdk'; export interface StsAssumeRoleConfig { roleArn: string; externalId?: string; } /** * Credentials need to be cached or a separate assume role will be called for each individual * instance of the credential chain */ declare class CredentialObjectCache extends ObjectCache { create(opts: StsAssumeRoleConfig): AWS.ChainableTemporaryCredentials; } export declare const CredentialsCache: CredentialObjectCache; declare class S3ObjectCache extends ObjectCache { create(opt: StsAssumeRoleConfig): AWS.S3; } export declare const S3Cache: S3ObjectCache; export {}; //# sourceMappingURL=credentials.d.ts.map