/** Result of extracting the single visible structural Shepherd Journal from Markdown. */ export type ShepherdJournalExtraction = { journal: null; ok: true; } | { journal: { entries: string[]; format: "details" | "legacy"; }; ok: true; } | { error: string; ok: false; }; /** Extract ordered journal entries while failing closed on malformed or ambiguous content. */ export declare function extractShepherdJournal(body: string): ShepherdJournalExtraction;