import { Hono } from 'hono'; /** * Decide whether the file scan should skip a directory. Exported (pure) for tests. * * @param name the directory's own name (e.g. `node_modules`, `.claude`, `state`) * @param depth 0 at the workspace root * @param relDir the directory's path relative to the workspace root, `/`-separated (e.g. `.setup-agents/state`) * * Rules: always skip IGNORED_DIRS; at the root, skip dotfolders unless they're an * allowed agent dir (.claude, .setup-agents, …); skip noisy/heavy IGNORED_SUBPATHS * (state streams, transcripts, run dumps) — but NOT `.setup-agents/references`, * which users open to verify cited sources. */ export declare function shouldSkipDir(name: string, depth: number, relDir: string): boolean; export declare function isExcludedDiagramPath(relativePath: string): boolean; export declare function filesRoute(cwd: string): Hono;