import type { NodeTypeParser } from '@n8n/ai-workflow-builder';
import { Logger } from '@n8n/backend-common';
import { LoadNodesAndCredentials } from '../../../../load-nodes-and-credentials';
type NodeRequest = string | {
    nodeId: string;
    version?: string;
    resource?: string;
    operation?: string;
    mode?: string;
};
export declare class WorkflowBuilderToolsService {
    private readonly loadNodesAndCredentials;
    private readonly logger;
    private nodeTypeParser;
    private nodeDefinitionDirs;
    private initPromise;
    private searchTool;
    private getTool;
    private suggestTool;
    private readonly searchCache;
    private readonly getCache;
    private readonly suggestCache;
    constructor(loadNodesAndCredentials: LoadNodesAndCredentials, logger: Logger);
    initialize(): Promise<void>;
    getNodeTypeParser(): NodeTypeParser;
    getNodeDefinitionDirs(): string[];
    searchNodes(queries: string[]): Promise<string>;
    getNodeTypes(nodeIds: NodeRequest[]): Promise<string>;
    getSuggestedNodes(categories: string[]): Promise<string>;
    private doInitialize;
    private refreshNodeTypes;
    private resolveBuiltinNodeDefinitionDirs;
}
export {};
