/** * Main tools module - provides unified interface to all tools */ export * from './core/index.js'; export * from './builtin/index.js'; export * from './custom/index.js'; export declare const SAFE_TOOLS: string[]; export declare const DANGEROUS_TOOLS: string[]; import { ToolSchema, ToolResult } from './core/types.js'; import { getReadFilesTracker } from './builtin/files/read-file.js'; /** * Initialize the tool registry with all available tools */ export declare function initializeTools(): Promise; /** * Get the global tool registry instance */ export declare function getToolRegistry(): { getSchemas(): ToolSchema[]; getDangerousTools(): string[]; getSafeTools(): string[]; execute(name: string, args: Record): Promise; has(name: string): boolean; }; /** * Backward compatibility function names */ import { executeTool as executeToolFromRegistry } from './core/registry.js'; import { formatToolParams } from './core/utils.js'; export { executeToolFromRegistry as executeTool }; export { formatToolParams }; export declare function readFile(filePath: string, startLine?: number, endLine?: number): Promise; export declare function createFile(filePath: string, content: string, fileType?: string, overwrite?: boolean): Promise; export declare function editFile(filePath: string, oldText: string, newText: string, replaceAll?: boolean): Promise; export declare function deleteFile(filePath: string, recursive?: boolean): Promise; export declare function listFiles(directory?: string, pattern?: string, recursive?: boolean, showHidden?: boolean): Promise; export declare function searchFiles(pattern: string, filePattern?: string, directory?: string, caseSensitive?: boolean, patternType?: 'substring' | 'regex' | 'exact' | 'fuzzy', fileTypes?: string[], excludeDirs?: string[], excludeFiles?: string[], maxResults?: number, contextLines?: number, groupByFile?: boolean): Promise; export declare function executeCommand(command: string, commandType: string, workingDirectory?: string, timeout?: number): Promise; export declare function createTasks(userQuery: string, tasks: any[]): Promise; export declare function updateTasks(taskUpdates: any[]): Promise; export { getReadFilesTracker }; export { setReadFilesTracker } from './core/validators.js'; export declare const TOOL_REGISTRY: { read_file: typeof readFile; create_file: typeof createFile; edit_file: typeof editFile; delete_file: typeof deleteFile; list_files: typeof listFiles; search_files: typeof searchFiles; execute_command: typeof executeCommand; create_tasks: typeof createTasks; update_tasks: typeof updateTasks; }; //# sourceMappingURL=index.d.ts.map