/** * QA360 Docker Compose Helper * Safe Docker Compose operations with health checks and error handling */ export interface ComposeOptions { workingDir: string; composeFile?: string; } export interface ComposeError extends Error { code: string; suggestion: string; } export declare class ComposeHelper { private workingDir; private composeFile; private isUp; constructor(options: ComposeOptions); /** * Start services with Docker Compose */ up(timeout?: number): Promise; /** * Stop and remove services */ down(timeout?: number): Promise; /** * Get service status */ getStatus(): Promise<{ service: string; status: string; ports: string[]; }[]>; /** * Check if Docker is available */ private checkDockerAvailable; /** * Execute Docker Compose command */ private executeCompose; /** * Execute shell command with timeout */ private executeCommand; /** * Validate compose file syntax */ validateComposeFile(): Promise<{ valid: boolean; errors: string[]; }>; /** * Get compose file path */ getComposeFilePath(): string; /** * Check if services are currently up */ isServicesUp(): boolean; }