import { AgentContext, BaseFileAgent } from "@eko-ai/eko";
export default class FileAgent extends BaseFileAgent {
    protected file_list(agentContext: AgentContext, directoryPath: string): Promise<Array<{
        path: string;
        name?: string;
        isDirectory?: boolean;
        size?: string;
        modified?: string;
    }>>;
    protected file_read(agentContext: AgentContext, filePath: string): Promise<string>;
    protected file_write(agentContext: AgentContext, filePath: string, content: string, append: boolean): Promise<any>;
    protected file_str_replace(agentContext: AgentContext, filePath: string, oldStr: string, newStr: string): Promise<any>;
    protected file_find_by_name(agentContext: AgentContext, directoryPath: string, globPattern: string): Promise<Array<{
        path: string;
        name?: string;
        isDirectory?: boolean;
        size?: string;
        modified?: string;
    }>>;
    protected formatFileSize(size: number): string;
}
export { FileAgent };
//# sourceMappingURL=file.d.ts.map