import type { JournalEntry, JournalLoader } from './types.mts'; import type { SavedRetrospective } from './scope.mts'; export type JournalScan = { status: 'ok'; entries: JournalEntry[]; retrospectives: SavedRetrospective[]; truncated: boolean; } | { status: 'not-found'; } | { status: 'unreachable'; diagnostic: string; }; /** Loads the session journal through the caller's loader within the shared bounded scan. */ export declare function scanJournal(sessionId: string, loader: JournalLoader): Promise;