import type { DeployedWorkflow, GeneratedWorkflow, N8nEngineConfig, NodeSummary, TemplateSummary, WorkflowSpec, WorkflowValidationResult } from '../types.js';
import type { Engine } from './engine.js';
export declare class N8nEngine implements Engine {
    readonly name: "n8n";
    private readonly config;
    private readonly nodeProvider;
    private readonly knowledgeSearch;
    private readonly workflowValidator;
    private readonly apiClient;
    constructor(config: N8nEngineConfig);
    searchNodes(query: string): Promise<NodeSummary[]>;
    nodeInfo(type: string): Promise<unknown>;
    searchTemplates(query: string): Promise<TemplateSummary[]>;
    generateWorkflow(spec: WorkflowSpec): Promise<GeneratedWorkflow>;
    private normalizeConnections;
    private convertEdgeListToN8nConnections;
    validate(workflow: GeneratedWorkflow): Promise<WorkflowValidationResult>;
    deploy(workflow: GeneratedWorkflow): Promise<DeployedWorkflow>;
    listWorkflows(): Promise<DeployedWorkflow[]>;
    activateWorkflow(id: string): Promise<void>;
    deactivateWorkflow(id: string): Promise<void>;
    deleteWorkflow(id: string): Promise<void>;
    private extractCredentialRequirements;
    private normalizeCredentials;
}
//# sourceMappingURL=n8n-engine.d.ts.map