import type { DiscoveryResult } from "../../../../discovery/index.js"; import type { HandlerContext } from "../../types.js"; /** * Run primitive discovery (agents, tools) for a project if not already done. * Must be called within a runWithContext scope so the VFS can resolve * the correct remote project files and the agent registry uses the * correct project scope. */ export declare function ensureProjectDiscovery(ctx: HandlerContext): Promise; /** * Drop completed and in-flight discovery records for every source scope owned * by a project. The next scoped request rebuilds registries transactionally * from its current source snapshot. */ export declare function clearProjectDiscoveryCacheForProject(projectId: string): void; //# sourceMappingURL=project-discovery.d.ts.map