export interface RefreshKbLinksResult { filesUpdated: number; filesSkipped: number; messages: string[]; } /** * Run the refresh-kb-links operation on the project at `cwd`. * * Returns a result record with counts and human-readable messages. * Never throws — errors are captured as messages. */ export declare function runRefreshKbLinks(cwd: string): Promise; /** * Get a standalone refresh-kb-links handler suitable for direct invocation * from Phase 4 step 4-9. Returns a function that takes cwd and calls * runRefreshKbLinks. */ export declare function getRefreshKbLinksHandler(): (cwd: string) => Promise;