import { z } from 'zod'; declare const receiptInputSchema: z.ZodObject<{ schemaVersion: z.ZodDefault>; id: z.ZodOptional; createdAt: z.ZodDefault; operation: z.ZodEnum<{ "draft-from-notes": "draft-from-notes"; "edit-existing": "edit-existing"; "proofread-only": "proofread-only"; "continue-author-text": "continue-author-text"; }>; profile: z.ZodObject<{ id: z.ZodString; version: z.ZodString; revision: z.ZodNumber; cacheEpoch: z.ZodNumber; compiledModeSha256: z.ZodOptional; fallback: z.ZodBoolean; }, z.core.$strict>; examples: z.ZodOptional; cacheKey: z.ZodOptional; selections: z.ZodPrefault>>; budget: z.ZodOptional; measurement: z.ZodEnum<{ estimated: "estimated"; exact: "exact"; "upper-bound": "upper-bound"; }>; tokenizerId: z.ZodString; tokenizerVersion: z.ZodString; }, z.core.$strict>>; fallback: z.ZodDefault; }, z.core.$strict>>; modes: z.ZodPrefault; }, z.core.$strict>>>; state: z.ZodOptional>; delivered: z.ZodPrefault>; applied: z.ZodPrefault>; validated: z.ZodPrefault>; deliveredTo: z.ZodEnum<{ none: "none"; "local-transform-callback": "local-transform-callback"; }>; fallback: z.ZodEnum<{ none: "none"; unaltered: "unaltered"; }>; }, z.core.$strict>>; modelPrompt: z.ZodObject<{ execution: z.ZodDefault>; provider: z.ZodOptional; model: z.ZodOptional; promptSha256: z.ZodString; templateSha256: z.ZodOptional; decoding: z.ZodOptional; topP: z.ZodOptional; maxOutputTokens: z.ZodOptional; seed: z.ZodOptional; stopSha256: z.ZodOptional; }, z.core.$strict>>; promptConfigSha256: z.ZodOptional; hostedVersion: z.ZodOptional; reason: z.ZodLiteral<"Hosted provider prompt/version cannot be attested from this local receipt.">; }, z.core.$strict>>; }, z.core.$strict>; inputs: z.ZodArray; sha256: z.ZodString; }, z.core.$strict>>; operationConfig: z.ZodOptional; correctionIds: z.ZodPrefault>; channel: z.ZodOptional>; configSha256: z.ZodOptional; }, z.core.$strict>>; output: z.ZodOptional; }, z.core.$strict>>; budget: z.ZodObject<{ limit: z.ZodNumber; used: z.ZodNumber; unit: z.ZodEnum<{ tokens: "tokens"; "utf8-bytes": "utf8-bytes"; characters: "characters"; }>; measurement: z.ZodEnum<{ estimated: "estimated"; exact: "exact"; "upper-bound": "upper-bound"; }>; tokenizerId: z.ZodString; tokenizerVersion: z.ZodString; }, z.core.$strict>; fallback: z.ZodObject<{ applied: z.ZodBoolean; reason: z.ZodOptional; }, z.core.$strict>; validators: z.ZodPrefault; outcome: z.ZodEnum<{ uncertain: "uncertain"; fail: "fail"; pass: "pass"; "not-run": "not-run"; }>; }, z.core.$strict>>>; evaluation: z.ZodPrefault; }, z.core.$strict>>>; authorAcceptance: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; accepted: "accepted"; rejected: "rejected"; "not-required": "not-required"; }>; acceptedAt: z.ZodOptional; acceptedBy: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>; export declare const writingReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodDefault>; createdAt: z.ZodDefault; operation: z.ZodEnum<{ "draft-from-notes": "draft-from-notes"; "edit-existing": "edit-existing"; "proofread-only": "proofread-only"; "continue-author-text": "continue-author-text"; }>; profile: z.ZodObject<{ id: z.ZodString; version: z.ZodString; revision: z.ZodNumber; cacheEpoch: z.ZodNumber; compiledModeSha256: z.ZodOptional; fallback: z.ZodBoolean; }, z.core.$strict>; examples: z.ZodOptional; cacheKey: z.ZodOptional; selections: z.ZodPrefault>>; budget: z.ZodOptional; measurement: z.ZodEnum<{ estimated: "estimated"; exact: "exact"; "upper-bound": "upper-bound"; }>; tokenizerId: z.ZodString; tokenizerVersion: z.ZodString; }, z.core.$strict>>; fallback: z.ZodDefault; }, z.core.$strict>>; modes: z.ZodPrefault; }, z.core.$strict>>>; state: z.ZodOptional>; delivered: z.ZodPrefault>; applied: z.ZodPrefault>; validated: z.ZodPrefault>; deliveredTo: z.ZodEnum<{ none: "none"; "local-transform-callback": "local-transform-callback"; }>; fallback: z.ZodEnum<{ none: "none"; unaltered: "unaltered"; }>; }, z.core.$strict>>; modelPrompt: z.ZodObject<{ execution: z.ZodDefault>; provider: z.ZodOptional; model: z.ZodOptional; promptSha256: z.ZodString; templateSha256: z.ZodOptional; decoding: z.ZodOptional; topP: z.ZodOptional; maxOutputTokens: z.ZodOptional; seed: z.ZodOptional; stopSha256: z.ZodOptional; }, z.core.$strict>>; promptConfigSha256: z.ZodOptional; hostedVersion: z.ZodOptional; reason: z.ZodLiteral<"Hosted provider prompt/version cannot be attested from this local receipt.">; }, z.core.$strict>>; }, z.core.$strict>; inputs: z.ZodArray; sha256: z.ZodString; }, z.core.$strict>>; output: z.ZodOptional; }, z.core.$strict>>; budget: z.ZodObject<{ limit: z.ZodNumber; used: z.ZodNumber; unit: z.ZodEnum<{ tokens: "tokens"; "utf8-bytes": "utf8-bytes"; characters: "characters"; }>; measurement: z.ZodEnum<{ estimated: "estimated"; exact: "exact"; "upper-bound": "upper-bound"; }>; tokenizerId: z.ZodString; tokenizerVersion: z.ZodString; }, z.core.$strict>; fallback: z.ZodObject<{ applied: z.ZodBoolean; reason: z.ZodOptional; }, z.core.$strict>; validators: z.ZodPrefault; outcome: z.ZodEnum<{ uncertain: "uncertain"; fail: "fail"; pass: "pass"; "not-run": "not-run"; }>; }, z.core.$strict>>>; evaluation: z.ZodPrefault; }, z.core.$strict>>>; authorAcceptance: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; accepted: "accepted"; rejected: "rejected"; "not-required": "not-required"; }>; acceptedAt: z.ZodOptional; acceptedBy: z.ZodOptional; }, z.core.$strict>; id: z.ZodString; operationConfig: z.ZodObject<{ action: z.ZodEnum<{ continue: "continue"; plan: "plan"; draft: "draft"; edit: "edit"; proofread: "proofread"; }>; correctionIds: z.ZodPrefault>; channel: z.ZodOptional>; configSha256: z.ZodOptional; }, z.core.$strict>; receiptSha256: z.ZodString; }, z.core.$strict>; export type WritingReceiptInput = z.input; export type WritingReceipt = z.infer; export declare function createWritingReceipt(input: WritingReceiptInput): WritingReceipt; export declare function validateWritingReceipt(value: unknown): WritingReceipt; export declare function writingReceiptPath(cwd: string, receiptId: string): string; export declare function writeWritingReceipt(cwd: string, receiptInput: WritingReceipt): Promise<{ path: string; sha256: string; }>; export declare function readWritingReceipt(cwd: string, receiptId: string): Promise<{ receipt: WritingReceipt; path: string; sha256: string; }>; export {}; //# sourceMappingURL=writing-receipt.d.ts.map