/** * Index Project Tool * * Indexes an entire project for optimized contextual search (ASYNC). * Creates embeddings and FTS5 indexes for all relevant files. * * Returns a jobId immediately and processes indexing in background. * Use get_index_status(jobId) to check progress. * * Now powered by the 4-stage ETL Pipeline: * discover → parse → resolve → load */ import { IToolHandler } from "@massa-th0th/shared"; import { ToolResponse } from "@massa-th0th/shared"; type CanonicalizePath = (projectPath: string) => Promise; export declare function canonicalizeProjectRoot(projectPath: string, canonicalize?: CanonicalizePath): Promise; export declare function assertProjectRootReuse(options: { projectId: string; canonicalProjectPath: string; storedProjectPath?: string | null; forceReindex: boolean; canonicalize?: CanonicalizePath; }): Promise; export declare class IndexProjectTool implements IToolHandler { name: string; description: string; inputSchema: { type: string; properties: { projectPath: { type: string; description: string; }; projectId: { type: string; description: string; }; forceReindex: { type: string; description: string; default: boolean; }; warmCache: { type: string; description: string; default: boolean; }; warmupQueries: { type: string; items: { type: string; }; description: string; }; include_tests: { type: string; description: string; default: boolean; }; }; required: string[]; }; private contextualSearch; constructor(); handle(params: unknown): Promise; /** * Executa indexação em background usando o ETL Pipeline de 4 estágios. * * O pipeline substitui o monobloco contextualSearch.indexProject() anterior: * discover → parse → resolve → load * * Mantém compatibilidade: warmCache continua funcionando via contextualSearch. */ private executeIndexing; } export {}; //# sourceMappingURL=index_project.d.ts.map