n8n
Version:
n8n Workflow Automation Tool
7 lines (6 loc) • 618 B
TypeScript
import type { CustomFetch, OutboundHttp, SsrfProtectionService } from '@n8n/backend-network';
import type { SsrfProtectionConfig } from '@n8n/config';
export declare const AI_REQUEST_TIMEOUT_MS: number;
export declare function createAiProxyFetch(outboundHttp: OutboundHttp): CustomFetch;
export declare function createAiMcpFetch(outboundHttp: OutboundHttp, ssrfConfig: SsrfProtectionConfig, ssrfProtectionService: SsrfProtectionService): CustomFetch;
export declare function createWebSearchFetch(outboundHttp: OutboundHttp, ssrfConfig: SsrfProtectionConfig, ssrfProtectionService: SsrfProtectionService): CustomFetch;