import { DeploymentConfig, DeploymentResult, DeploymentStatus, DeploymentHistoryItem, RollbackResult } from "./platform-adapter"; /** * Deployment service for deploying applications */ export declare class DeploymentService { private config; /** * Create a new deployment service * @param config Deployment configuration */ constructor(config?: Partial); /** * Deploy the application * @returns Deployment result */ deploy(): Promise; /** * Get deployment status * @param deploymentId Deployment ID * @returns Deployment status */ getStatus(deploymentId?: string): Promise; /** * Get deployment history * @returns Deployment history */ getHistory(): Promise; /** * Roll back to a previous deployment * @param deploymentId Deployment ID * @returns Rollback result */ rollback(deploymentId: string): Promise; /** * Configure a custom domain * @param domain Custom domain * @returns Success status */ configureDomain(domain: string): Promise; /** * Load configuration from file */ private loadConfig; /** * Save deployment history * @param deployment Deployment history item */ private saveDeploymentHistory; /** * Update deployment history * @param deploymentId Deployment ID * @param status Deployment status */ private updateDeploymentHistory; }