import type { GraphNode } from "./graph.ts"; import { type CompleteStageOptions } from "./lifecycle.ts"; import type { JevConfig } from "./jev/types.ts"; import type { JevClient } from "./jev/client.ts"; export type CreativeObjectiveReceipt = { preparationId: string; node: GraphNode; completed?: boolean; acceptedHash?: string; }; export declare function creativePacketCoverageFailures(root: string, nodeId: string): string[]; /** Completion is established by a lifecycle receipt, never by the shape of files alone. */ export declare function runCreativeObjective(opts: { root: string; kernel: string; node: GraphNode; prompt: string; pendingPath?: string; retry?: boolean; beforePrepare?: () => void; evaluate: () => { failures: string[]; }; agentUsage?: CompleteStageOptions["agentUsage"]; usageReceiptPath?: string; jevConfig?: JevConfig; jevClient?: JevClient; buildPacket?: () => Promise; }): Promise<{ paused: boolean; failures: string[]; preparationId?: string; }>;