import { type CanonicalGjcWorkflowSkill } from "./active-state"; export { WORKFLOW_STATE_RECEIPT_FRESH_MS, WORKFLOW_STATE_RECEIPT_VERSION, WORKFLOW_STATE_VERSION, } from "./workflow-state-version"; export type { CanonicalGjcWorkflowSkill }; export type WorkflowStateMutationOwner = "gjc-state-cli" | "gjc-runtime" | "gjc-hook"; export type WorkflowStateReceiptStatus = "fresh" | "stale"; export interface WorkflowStateContentChecksum { algorithm: "sha256"; value: string; covered_path: string; computed_at: string; } export interface WorkflowStateReceipt { version: 1; skill: CanonicalGjcWorkflowSkill; owner: WorkflowStateMutationOwner; command: string; state_path: string; storage_path: string; mutated_at: string; fresh_until: string; status: WorkflowStateReceiptStatus; mutation_id: string; verb?: string; from_phase?: string; to_phase?: string; forced?: boolean; paths?: string[]; content_sha256?: WorkflowStateContentChecksum; } export interface AuditEntry { ts: string; skill?: string; category: string; verb: string; owner: WorkflowStateMutationOwner; mutation_id: string; from_phase?: string; to_phase?: string; forced: boolean; paths: string[]; } export declare function workflowModeStateFileName(skill: CanonicalGjcWorkflowSkill): string; export declare function buildWorkflowStateReceipt(input: { cwd: string; skill: CanonicalGjcWorkflowSkill; owner: WorkflowStateMutationOwner; command: string; sessionId: string; nowIso?: string; mutationId?: string; }): WorkflowStateReceipt; export declare function workflowReceiptStatus(receipt: WorkflowStateReceipt | undefined, nowMs?: number): WorkflowStateReceiptStatus | undefined; export declare function canonicalWorkflowSkill(value: string): CanonicalGjcWorkflowSkill | null; export declare function sanctionedWorkflowStateCommand(skill: CanonicalGjcWorkflowSkill): string; export declare function describeWorkflowStateContract(skill: CanonicalGjcWorkflowSkill): string[];