import type { Project } from "./config.js"; import { type HostingAdapter, type RunRecord, type Workspace } from "./domain.js"; import type { Store } from "./store.js"; export declare const publicationSteps: readonly string[]; interface WorkflowStep { functionID: number; name?: string; error?: unknown; } export declare function recoveryUnavailable(run: RunRecord): string | undefined; /** Hash execution inputs without reading credential environment values. */ export declare function executionFingerprint(project: Project, workflowVersion: string, signal?: AbortSignal): Promise; interface RecoveryDependencies { project: Project; workspace: Workspace; hosting: HostingAdapter; store: Pick; stateDirectory: string; workflowVersion: string; signal?: AbortSignal; } /** Verify checkpoint history and live state before persisting recovery intent. */ export declare function verifyPublicationRecoveryAdmission(run: RunRecord, checkpoints: { status: { status: string; applicationVersion?: string; } | null | undefined; steps: readonly WorkflowStep[] | undefined; applicationVersion: string; }, dependencies: RecoveryDependencies): Promise; interface RecoveryStartDependencies extends RecoveryDependencies { store: Pick; signal: AbortSignal; } /** Revalidate a recovered Execution at its first non-replayed step. */ export declare function resumePublicationExecution(run: RunRecord, workflowId: string, stepId: number, dependencies: RecoveryStartDependencies): Promise; export {};