import type { ApiProvider, CallApiContextParams, ProviderOptions, ProviderResponse } from '../../types';
export interface N8nProviderConfig {
    url: string;
    method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD';
    authMethod: 'none' | 'api_key' | 'basic' | 'custom';
    apiKeyName?: string;
    apiKeyValue?: string;
    username?: string;
    password?: string;
    customHeaders?: Array<{
        key: string;
        value: string;
    }>;
}
export declare class N8nProvider implements ApiProvider {
    private httpProvider;
    private providerConfig;
    config: any;
    constructor(config: N8nProviderConfig, options?: ProviderOptions);
    id(): string;
    callApi(prompt: string, context?: CallApiContextParams): Promise<ProviderResponse>;
}
//# sourceMappingURL=n8n.d.ts.map