/** * @file Failed-deploy records read back from the deployment report. * * A failed deploy appends a `deploy-failed` event to the same JSONL report that * records successful deploys and rollbacks. Status and releases commands read * those events back so an operator can see which release attempt failed, where * it failed, and which persisted report holds the details, without rerunning * the failing task. */ /** * @param {import('#types').Transport} transport * @param {import('#types').StageConfig} stage * @returns {Promise} Events in append order; empty when no report exists yet. */ export function readDeploymentEvents(transport: import("#types").Transport, stage: import("#types").StageConfig): Promise; /** * @param {import('#types').DeploymentEvent[]} events * @returns {string[]} Release ids whose last deploy event failed, in ascending order. */ export function failedReleaseIds(events: import("#types").DeploymentEvent[]): string[]; /** * @param {import('#types').DeploymentEvent[]} events * @param {string} reportPath - Persisted deployment report holding these records. * @returns {import('#types').LatestDeployAttempt|null} The newest deploy attempt across all recorded releases, or null when none is recorded. */ export function latestDeployAttempt(events: import("#types").DeploymentEvent[], reportPath: string): import("#types").LatestDeployAttempt | null; //# sourceMappingURL=failed-deploy-records.d.ts.map