import { z } from 'zod'; import { type ClosingChecklist } from './schemas.js'; export declare const ChecklistStateSchema: z.ZodObject<{ checklist_id: z.ZodString; revision: z.ZodNumber; checklist: z.ZodObject<{ deal_name: z.ZodString; updated_at: z.ZodString; documents: z.ZodDefault; labels: z.ZodDefault>; }, z.core.$strip>>>; checklist_entries: z.ZodDefault; stage: z.ZodEnum<{ PRE_SIGNING: "PRE_SIGNING"; SIGNING: "SIGNING"; CLOSING: "CLOSING"; POST_CLOSING: "POST_CLOSING"; }>; sort_key: z.ZodOptional; title: z.ZodString; status: z.ZodEnum<{ NOT_STARTED: "NOT_STARTED"; DRAFT: "DRAFT"; CIRCULATED: "CIRCULATED"; FORM_FINAL: "FORM_FINAL"; PARTIALLY_SIGNED: "PARTIALLY_SIGNED"; FULLY_EXECUTED: "FULLY_EXECUTED"; DELIVERED: "DELIVERED"; FILED_OR_RECORDED: "FILED_OR_RECORDED"; }>; parent_entry_id: z.ZodOptional; responsible_party: z.ZodOptional; individual_name: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>>; citations: z.ZodDefault; text: z.ZodOptional; link: z.ZodOptional; filepath: z.ZodOptional; }, z.core.$strip>>>; signatories: z.ZodDefault; title: z.ZodOptional; status: z.ZodEnum<{ PENDING: "PENDING"; RECEIVED: "RECEIVED"; N_A: "N_A"; }>; signature_artifacts: z.ZodDefault; path: z.ZodOptional; received_at: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>>>; action_items: z.ZodDefault; assigned_to: z.ZodOptional; individual_name: z.ZodOptional; role: z.ZodOptional; }, z.core.$strip>>; due_date: z.ZodOptional; related_document_ids: z.ZodDefault>; citations: z.ZodDefault; text: z.ZodOptional; link: z.ZodOptional; filepath: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>; issues: z.ZodDefault; status: z.ZodEnum<{ OPEN: "OPEN"; CLOSED: "CLOSED"; }>; related_document_ids: z.ZodDefault>; citations: z.ZodDefault; text: z.ZodOptional; link: z.ZodOptional; filepath: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>; export type ChecklistState = z.infer; export interface ChecklistMeta { deal_name: string; created_at: string; uuid: string; } export interface ChecklistSummary extends ChecklistMeta { revision: number; updated_at: string; } export interface HistoryRecord { patch_id: string; applied_at: string; revision_before: number; revision_after: number; operation_count: number; } export declare function createChecklist(dealName: string, initialData?: ClosingChecklist, opts?: { root?: string; }): { uuid: string; dir: string; }; export declare function listChecklists(opts?: { root?: string; }): ChecklistSummary[]; export declare function resolveChecklist(nameOrId: string, opts?: { root?: string; }): string | null; export declare function getChecklistState(uuid: string, opts?: { root?: string; }): ChecklistState; export declare function saveChecklistState(uuid: string, state: ChecklistState, opts?: { root?: string; }): void; export declare function appendHistory(uuid: string, record: HistoryRecord, opts?: { root?: string; }): Promise; export declare function getHistory(uuid: string, opts?: { root?: string; }): HistoryRecord[]; //# sourceMappingURL=state-manager.d.ts.map