import type { DocsyncConfig, MatchResult } from "./types.js"; export interface RunSummary { period: { from: string; to: string; }; missingCount: number; attached: Array<{ billNo: string | null; party: string | null; via: "staged" | "rebooked"; file: string; }>; review: MatchResult[]; unresolved: MatchResult[]; } /** Build a plain-text digest of the run. */ export declare function formatDigest(summary: RunSummary): string; /** Deliver the digest via webhook or notifyCommand. Returns how it was delivered. */ export declare function deliverDigest(text: string, config: DocsyncConfig): Promise<"webhook" | "command" | "none">;