import { CommandExecutionResult } from '../controllers/aws.sso.exec.types.js'; /** * Execute AWS CLI command with temporary credentials * * Gets temporary credentials for the specified account and role, then executes * the AWS CLI command with those credentials in the environment. * * @param {string} accountId - AWS account ID to get credentials for * @param {string} roleName - AWS role name to assume via SSO * @param {string[]} command - AWS CLI command and arguments as array * @param {string} [region] - Optional AWS region override * @returns {Promise} Command execution result with stdout, stderr, and exit code * @throws {Error} If credentials cannot be obtained or command execution fails */ declare function executeCommand(accountId: string, roleName: string, command: string[], region?: string): Promise; export { executeCommand };