import type { Tool } from '../../types/tools.js'; import { type ReadAccessFilter } from '../shared/read-access.js'; /** * Extract top-level exported names from source text with a cheap regex. Handles * `export const/let/var/function/class/interface/type/enum` (incl. `async`, * `default`, `abstract class`) and named re-exports `export { a, b as c }`. * Deliberately shallow: this is a map, not a parser. */ export declare function extractTopLevelExports(source: string): string[]; /** * Build the repo_map tool bound to a project root. The tool is read-only and * safe to run in parallel. */ export declare function createRepoMapTool(options: { projectRoot: string; /** * Per-file read-permission decision (wired to PermissionManager.previewReadAccess). * A restricted file keeps its ranked path line but its exported symbols, which * require reading the file, are withheld and the line is flagged. */ readAccessFilter?: ReadAccessFilter; }): Tool; //# sourceMappingURL=index.d.ts.map