export type ShepherdJournalReconcileResult = { body: string; ok: true; } | { error: string; ok: false; }; export type ShepherdJournalBounds = { contentEnd: number; contentStart: number; end: number; format: "details" | "legacy"; start: number; }; export declare function scanShepherdJournal(lines: string[]): ShepherdJournalBounds | null | "error"; export declare function parseShepherdJournalEntries(lines: string[]): string[][]; export declare function containsJournalEntry(lines: string[], item: string): boolean; export declare function reconcileShepherdJournal(suppliedBody: string, liveBody: string): ShepherdJournalReconcileResult;