import { InstanceContext } from '../types/instance-context';
import { GenerateWorkflowHandler } from '../types/generate-workflow';
import type { AdditionalTool } from '../types/additional-tools';
import { EarlyErrorLogger } from '../telemetry/early-error-logger';
interface MCPServerOptions {
    generateWorkflowHandler?: GenerateWorkflowHandler;
    additionalTools?: AdditionalTool[];
}
export declare class N8NDocumentationMCPServer {
    private server;
    private db;
    private repository;
    private templateService;
    private initialized;
    private cache;
    private clientInfo;
    private instanceContext?;
    private previousTool;
    private previousToolTimestamp;
    private earlyLogger;
    private disabledToolsCache;
    private useSharedDatabase;
    private sharedDbState;
    private isShutdown;
    private generateWorkflowHandler?;
    private additionalToolsByName;
    constructor(instanceContext?: InstanceContext, earlyLogger?: EarlyErrorLogger, options?: MCPServerOptions);
    private registerAdditionalTools;
    private getEnabledAdditionalTools;
    private findToolSchema;
    close(): Promise<void>;
    private initializeDatabase;
    private initializeInMemorySchema;
    private parseSQLStatements;
    private ensureInitialized;
    private dbHealthChecked;
    private validateDatabaseHealth;
    private getDisabledTools;
    private setupHandlers;
    private sanitizeValidationResult;
    private validateToolParams;
    private validateToolParamsBasic;
    private validateExtractedArgs;
    private coerceStringifiedJsonParams;
    private listNodes;
    private getNodeInfo;
    private searchNodes;
    private searchNodesFTS;
    private searchNodesFuzzy;
    private calculateFuzzyScore;
    private getEditDistance;
    private searchNodesLIKE;
    private calculateRelevance;
    private calculateRelevanceScore;
    private rankSearchResults;
    private listAITools;
    private getNodeDocumentation;
    private safeJsonParse;
    private getDatabaseStatistics;
    private buildOperationsTree;
    private getNodeEssentials;
    private getNode;
    private handleInfoMode;
    private handleVersionMode;
    private getVersionSummary;
    private versionMetadataUnavailable;
    private getVersionHistory;
    private compareVersions;
    private getBreakingChanges;
    private getMigrations;
    private enrichPropertyWithTypeInfo;
    private enrichPropertiesWithTypeInfo;
    private searchNodeProperties;
    private getPropertyValue;
    private listTasks;
    private validateNodeConfig;
    private getPropertyDependencies;
    private getNodeAsToolInfo;
    private getOutputDescriptions;
    private getCommonAIToolUseCases;
    private buildToolVariantGuidance;
    private getAIToolExamples;
    private validateNodeMinimal;
    private getToolsDocumentation;
    connect(transport: any): Promise<void>;
    private listTemplates;
    private listNodeTemplates;
    private getTemplate;
    private searchTemplates;
    private workflowPatternsCache;
    private getWorkflowPatterns;
    private getTemplatesForTask;
    private searchTemplatesByMetadata;
    private getTaskDescription;
    private validateWorkflow;
    private validateWorkflowConnections;
    private validateWorkflowExpressions;
    run(): Promise<void>;
    shutdown(): Promise<void>;
}
export {};
//# sourceMappingURL=server.d.ts.map