/// import type { readFile as ReadFileT } from "fs/promises"; import { Document } from "../document.js"; import { BaseDocumentLoader } from "./base.js"; export declare class TextLoader extends BaseDocumentLoader { filePath: string; constructor(filePath: string); protected parse(raw: string): Promise; load(): Promise; static imports(): Promise<{ readFile: typeof ReadFileT; }>; }