import type { ApprovalRecord, EventEntry } from "./types.js"; export declare function approvalRecordForArtifact(artifact: string, events: EventEntry[]): ApprovalRecord; export declare function gateApprovalRecords(events: EventEntry[]): ApprovalRecord[]; export declare function gateIdForPhase(run: { phases: Array<{ phase: string; }>; }, phaseIndex: number): string; export declare function approvalEventsForArtifact(events: EventEntry[], artifact: string): EventEntry[]; export declare function approvalArtifactForId(id: string): string;