export interface CortexMDEntry { path: string; content: string; mtimeMs: number; } /** Walk from the directory containing `targetFilePath` up to the filesystem root, * collecting CORTEX.md and CORTEX.local.md at each level. Also appends the * remote user's ~/.cortex/CORTEX.md if present. Returns leaf→root order. */ export declare function scanCortexMDChain(targetFilePath: string): CortexMDEntry[];