import type { Logger } from '../../types/cli.types';
import type { DestroyOptions, DestroySummary } from './types';
/**
 * Command result for destroy operation
 */
export interface DestroyCommandResult {
    /** Whether the command succeeded */
    success: boolean;
    /** Exit code */
    exitCode: number;
    /** Summary of the operation */
    summary: DestroySummary;
    /** Error message if failed */
    error?: string;
}
/**
 * Main destroy command function
 * Orchestrates the destruction of all CloudFormation stacks for a service/stage/region
 *
 * This function:
 * 1. Loads and validates configuration
 * 2. Resolves region and service name
 * 3. Validates AWS credentials
 * 4. Discovers all stacks for the service/stage/region
 * 5. Prompts for user confirmation (unless --yes flag)
 * 6. Destroys stacks in correct order (RuntimeWeb → Runtime → Infra)
 * 7. Handles non-existent stacks gracefully (skip and continue)
 * 8. Handles partial failures (continue with remaining stacks)
 * 9. Collects timing information for each stack
 * 10. Displays summary of results
 *
 * @param options - Destroy command options
 * @param config
 * @param logger - Logger instance for output
 * @param cwd - Current working directory
 * @returns Command result with summary and exit code
 */
export declare function destroyCommand(options: DestroyOptions, logger: Logger, cwd?: string): Promise<DestroyCommandResult>;
