import { AwsCredentialIdentityProvider } from '@aws-sdk/types'; /** * Types of credential providers available */ export declare enum CredentialProviderType { DEFAULT = "default", ENV = "environment", PROFILE = "profile", PROCESS = "process" } /** * Result of credential validation */ export interface CredentialValidationResult { valid: boolean; accountId?: string; userId?: string; arn?: string; message?: string; error?: Error; } /** * Create an AWS credential provider based on available credentials * @param providerType Type of credential provider to use * @returns AWS credential provider configuration */ export declare function createCredentialProvider(providerType?: CredentialProviderType): AwsCredentialIdentityProvider; /** * Detect the best credential provider type based on available environment * @returns The most appropriate credential provider type */ export declare function detectCredentialProviderType(): CredentialProviderType; /** * Validate AWS credentials by making a test API call * @param region AWS region to use * @returns Validation result with caller identity information */ export declare function validateCredentials(region?: string): Promise; /** * Check if AWS credentials have sufficient permissions for required operations * This can be extended to check specific permissions as needed * @param region AWS region to use * @returns Promise resolving to validation result */ export declare function checkCredentialPermissions(region?: string): Promise;