import { Document } from "../../document.js"; import { AsyncCaller } from "../../util/async_caller.js"; import { BaseDocumentLoader, DocumentLoader } from "../base.js"; export interface RecursiveUrlLoaderOptions { excludeDirs?: string[]; extractor?: (text: string) => string; maxDepth?: number; timeout?: number; preventOutside?: boolean; callerOptions?: ConstructorParameters[0]; } export declare class RecursiveUrlLoader extends BaseDocumentLoader implements DocumentLoader { private caller; private url; private excludeDirs; private extractor; private maxDepth; private timeout; private preventOutside; constructor(url: string, options: RecursiveUrlLoaderOptions); private fetchWithTimeout; private getChildLinks; private extractMetadata; private getUrlAsDoc; private getChildUrlsRecursive; load(): Promise; }