export interface DeploymentErrorContext {
    releaseId: string;
    buildId: string;
    appSlug: string;
    env: string;
    namespace: string;
    cluster: string;
}
export declare class DeploymentErrorHandler {
    private webhookService;
    private db;
    constructor(db: any);
    handleDeploymentError(error: Error | string, context: DeploymentErrorContext, onUpdate?: (msg: string) => void): Promise<{
        error: string;
    }>;
    private triggerWebhook;
    private updateReleaseStatus;
    private updateBuildStatus;
}
//# sourceMappingURL=deploy-error-handler.d.ts.map