/** Scan the CORTEX.md ancestor chain starting from `cwd` and format entries * as a system prompt block. Returns empty string when no CORTEX.md files found. * * Called once per CodexAdapterSession at spawn time — the result is cached * for the lifetime of the session. */ export declare function buildCodexSystemPrompt(cwd: string): string;