import { Client } from "../api-clients/pint/client"; import { IAgentClientFS, PickRawFsResult } from "../agent-client-interface"; export declare class PintFsClient implements IAgentClientFS { private apiClient; constructor(apiClient: Client); readFile(path: string): Promise>; readdir(path: string): Promise>; writeFile(path: string, content: Uint8Array, create?: boolean, overwrite?: boolean): Promise>; remove(path: string, recursive?: boolean): Promise>; mkdir(path: string, recursive?: boolean): Promise>; stat(path: string): Promise>; copy(from: string, to: string, recursive?: boolean, overwrite?: boolean): Promise>; rename(from: string, to: string, overwrite?: boolean): Promise>; watch(path: string, options: { readonly recursive?: boolean; readonly excludes?: readonly string[]; }, onEvent: (watchEvent: any) => void): Promise<(PickRawFsResult<"fs/watch"> & { type: "error"; }) | { type: "success"; dispose(): void; }>; download(path?: string): Promise<{ downloadUrl: string; }>; }