import { N8nApiClient } from '../services/n8n-api-client';
import { McpToolResponse } from '../types/n8n-api';
import { NodeRepository } from '../database/node-repository';
import { InstanceContext } from '../types/instance-context';
import { TemplateService } from '../templates/template-service';
export declare function getInstanceCacheStatistics(): string;
export declare function getInstanceCacheMetrics(): import("../utils/cache-utils").CacheMetrics;
export declare function clearInstanceCache(): void;
export declare function getN8nApiClient(context?: InstanceContext): N8nApiClient | null;
export declare function tryParseJson(val: unknown): unknown;
export declare function handleCreateWorkflow(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetWorkflow(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetWorkflowDetails(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetWorkflowStructure(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetWorkflowMinimal(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetWorkflowActive(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleUpdateWorkflow(args: unknown, repository: NodeRepository, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeleteWorkflow(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleListWorkflows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleValidateWorkflow(args: unknown, repository: NodeRepository, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleAutofixWorkflow(args: unknown, repository: NodeRepository, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleTestWorkflow(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetExecution(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleListExecutions(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeleteExecution(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleHealthCheck(context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDiagnostic(request: any, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleWorkflowVersions(args: unknown, repository: NodeRepository, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeployTemplate(args: unknown, templateService: TemplateService, repository: NodeRepository, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleTriggerWebhookWorkflow(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleCreateTable(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleListTables(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetTable(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleUpdateTable(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeleteTable(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetRows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleInsertRows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleUpdateRows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleUpsertRows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeleteRows(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleListCredentials(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetCredential(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleCreateCredential(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleUpdateCredential(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleDeleteCredential(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleGetCredentialSchema(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
export declare function handleAuditInstance(args: unknown, context?: InstanceContext): Promise<McpToolResponse>;
//# sourceMappingURL=handlers-n8n-manager.d.ts.map