import { z } from 'zod'; import { StructuredTool, ToolParams } from '@langchain/core/tools'; import { Serializable } from '@langchain/core/load/serializable'; declare abstract class BaseFileStore extends Serializable { abstract readFile(path: string): Promise; abstract writeFile(path: string, contents: string): Promise; } interface ReadFileParams extends ToolParams { store: BaseFileStore; } /** * Class for reading files from the disk. Extends the StructuredTool * class. */ export declare class ReadFileTool extends StructuredTool { static lc_name(): string; schema: any; name: string; description: string; store: BaseFileStore; constructor({ store }: ReadFileParams); _call({ file_path }: z.infer): Promise; } export {};