import type { AwsCredentials } from "./aws-sigv4"; export type AwsIniFile = Record>; export interface AwsCredentialSourceOptions { profile?: string; } export interface AwsCredentialSource { profile: string; credentialsPath: string; configPath: string; } export type AwsProfileCapability = "static" | "process" | "sso" | undefined; export declare function parseAwsIni(text: string): AwsIniFile; export declare function resolveAwsCredentialSource(options?: AwsCredentialSourceOptions): AwsCredentialSource; export declare function readAwsStaticEnvironmentCredentials(): AwsCredentials | undefined; export declare function classifyAwsProfileCapability(profile: string, credentialsIni: AwsIniFile | undefined, configIni: AwsIniFile | undefined): AwsProfileCapability; export declare function hasResolvableAwsProfileSource(options?: AwsCredentialSourceOptions & { onScan?: () => void; }, now?: number): boolean; export declare function isValidBedrockBearerToken(token: string | undefined): token is string;