export interface CustomTool { id: string; name: string; description: string; version: string; author: string; category: 'api' | 'ui' | 'database' | 'file' | 'custom'; template: string; dependencies: string[]; config: Record; enabled: boolean; path: string; } export interface ToolTemplate { name: string; description: string; category: string; template: string; dependencies: string[]; configSchema: Record; } export declare class CustomToolsManager { private configManager; private toolsDir; private templatesDir; constructor(); /** * Initialize custom tools system */ initialize(): Promise; /** * Create a new custom tool */ createTool(toolId: string, options?: { template?: string; name?: string; description?: string; category?: string; author?: string; }): Promise; /** * List all custom tools */ listTools(verbose?: boolean): Promise; /** * Validate all custom tools */ validateTools(): Promise<{ valid: CustomTool[]; invalid: string[]; }>; /** * Validate a single tool */ validateTool(tool: CustomTool): Promise; /** * Enable/disable a tool */ toggleTool(toolId: string, enabled: boolean): Promise; /** * Delete a tool */ deleteTool(toolId: string): Promise; /** * Get available templates */ getTemplates(): Promise; /** * Create default templates */ private createDefaultTemplates; /** * Create template files */ private createTemplateFiles; /** * Create basic template files */ private createBasicTemplate; /** * Create API template files */ private createApiTemplate; /** * Create UI template files */ private createUiTemplate; /** * Create database template files */ private createDatabaseTemplate; /** * Copy template files to tool directory */ private copyTemplateFiles; /** * Create tool configuration */ private createToolConfig; /** * Create tool implementation */ private createToolImplementation; } //# sourceMappingURL=CustomToolsManager.d.ts.map