n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 409 B
TypeScript
import type { FetchedPage } from '@n8n/instance-ai';
import type { SsrfBridge } from 'n8n-core';
export interface FetchAndExtractOptions {
maxContentLength?: number;
maxResponseBytes?: number;
timeoutMs?: number;
authorizeUrl?: (url: string) => Promise<void>;
ssrf: SsrfBridge;
}
export declare function fetchAndExtract(url: string, options: FetchAndExtractOptions): Promise<FetchedPage>;