export declare type DeploymentState = { version: '1'; startedAt?: string; finishedAt?: string; status: DeploymentStatus; currentStepIndex: number; steps: DeploymentStepState[]; }; export declare type DeploymentStepState = { status: DeploymentStepStatus; previousMetaKey?: string; }; export declare type StepStatusParameters = Omit; export declare enum DeploymentStatus { 'IDLE' = "IDLE", 'DEPLOYING' = "DEPLOYING", 'DEPLOYED' = "DEPLOYED", 'ROLLING_BACK' = "ROLLING_BACK", 'ROLLED_BACK' = "ROLLED_BACK", 'FAILED' = "FAILED" } export declare enum DeploymentStepStatus { 'WAITING_FOR_DEPLOYMENT' = "WAITING_FOR_DEPLOYMENT", 'DEPLOYING' = "DEPLOYING", 'DEPLOYED' = "DEPLOYED", 'WAITING_FOR_TABLE_TO_BE_READY' = "WAITING_FOR_TABLE_TO_BE_READY", 'WAITING_FOR_ROLLBACK' = "WAITING_FOR_ROLLBACK", 'ROLLING_BACK' = "ROLLING_BACK", 'ROLLED_BACK' = "ROLLED_BACK" } export interface IDeploymentStateManager { startDeployment(steps: DeploymentStepState[]): Promise; failDeployment(): Promise; updateStatus(status: DeploymentStatus): Promise; updateCurrentStepStatus(status: DeploymentStepStatus): Promise; startCurrentStep(parameters?: StepStatusParameters): Promise; advanceStep(): Promise; startRollback(): Promise; isDeploymentInProgress(): boolean; isDeploymentFinished(): boolean; getStatus(): DeploymentState | undefined; } //# sourceMappingURL=deploymentState.d.ts.map