/** * True when `name` (a bare filename, no directory component) has the shape of * a legacy flat agent journal or workmap. * * NAME ONLY, this is a necessary but NOT sufficient condition, because legal * user session names collide with these shapes (see the module header). Use * {@link isLegacyAgentJournalFile} for any decision that deletes or moves a * file; this predicate exists for cheap pre-filtering and for tests. */ export declare function isLegacyAgentJournalFilename(name: string): boolean; /** * True when the file at `filePath` is genuinely a legacy flat agent journal or * workmap: its NAME has a legacy journal shape AND its first line is that * journal's opening record (see the module header). * * This is the predicate every destructive decision must use. `name` defaults to * the file's basename; callers that already have the directory entry's name * pass it to avoid re-deriving it. */ export declare function isLegacyAgentJournalFile(filePath: string, name?: string): boolean; //# sourceMappingURL=legacy-agent-journal-patterns.d.ts.map