import { Credentials, Provider } from "@aws-sdk/types";
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
import { STSClient, STSClientConfig } from "./STSClient";
export declare type RoleAssumer = (
  sourceCreds: Credentials,
  params: AssumeRoleCommandInput
) => Promise<Credentials>;
export declare const getDefaultRoleAssumer: (
  stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
  stsClientCtor: new (options: STSClientConfig) => STSClient
) => RoleAssumer;
export declare type RoleAssumerWithWebIdentity = (
  params: AssumeRoleWithWebIdentityCommandInput
) => Promise<Credentials>;
export declare const getDefaultRoleAssumerWithWebIdentity: (
  stsOptions: Pick<STSClientConfig, "logger" | "region" | "requestHandler">,
  stsClientCtor: new (options: STSClientConfig) => STSClient
) => RoleAssumerWithWebIdentity;
export declare type DefaultCredentialProvider = (
  input: any
) => Provider<Credentials>;
export declare const decorateDefaultCredentialProvider: (
  provider: DefaultCredentialProvider
) => DefaultCredentialProvider;
