import { SSOConfig } from './prompts.js'; import { SSOSessionConfig, ProfileConfig } from './sso-discovery.js'; /** * Write SSO profile to ~/.aws/config * * @param config - SSO configuration to write * @param overwrite - If true, replace existing profile; if false, throw error * @returns Path to the config file */ export declare function writeAwsProfile(config: SSOConfig, overwrite?: boolean): Promise; /** * Check if AWS config file exists and has the specified profile */ export declare function hasAwsProfile(profileName: string): boolean; /** * Get the path to AWS config file */ export declare function getAwsConfigPath(): string; /** * Generate SSO session content for ~/.aws/config */ export declare function generateSSOSessionContent(config: SSOSessionConfig): string; /** * Generate AWS profile content that references an SSO session */ export declare function generateSSOSessionProfileContent(profileName: string, accountId: string, roleName: string, ssoSessionName: string, defaultRegion: string): string; /** * Check if SSO session exists in config */ export declare function ssoSessionExists(configContent: string, sessionName: string): boolean; /** * Remove SSO session from config */ export declare function removeSSOSession(configContent: string, sessionName: string): string; /** * Write SSO session and multiple profiles to ~/.aws/config */ export declare function writeFullSSOConfig(ssoSession: SSOSessionConfig, profiles: ProfileConfig[], defaultRegion: string, overwrite?: boolean, keepExisting?: boolean): Promise; //# sourceMappingURL=aws-profile.d.ts.map