import { fromTemporaryCredentials } from '@aws-sdk/credential-providers'; import { RedshiftCredentialsProvider } from './RedshiftCredentialsProvider'; export interface RedshiftIAMCredentialProviderOptions { region?: string; assumeRoleArn?: string; assumeRoleExternalId?: string; clusterIdentifier: string; dbName?: string; } interface CachedCredentials { user: string; password: string; expiration: Date; } export declare class RedshiftIAMCredentialsProvider implements RedshiftCredentialsProvider { protected readonly region: string; protected readonly clusterIdentifier: string; protected readonly dbName: string; protected readonly awsCredentials?: ReturnType; protected cached: CachedCredentials | null; protected inflightRefresh: Promise | null; constructor(options: RedshiftIAMCredentialProviderOptions); getDbName(): string; getCredentials(): Promise<{ user: string; password: string; }>; protected isExpired(): boolean; protected resolveCredentials(): Promise; protected refreshCredentials(): Promise; } export {}; //# sourceMappingURL=RedshiftIAMCredentialsProvider.d.ts.map