import { Result, URI } from "@adviser/cement"; import { SuperThis, SysFileSystem } from "@fireproof/core-types-base"; import type { Gateway, GetResult } from "@fireproof/core-types-blockstore"; export declare class FileGateway implements Gateway { readonly fs: SysFileSystem; constructor(sthis: SuperThis, fs: SysFileSystem); getVersionFromFile(path: string, sthis: SuperThis): Promise; start(baseURL: URI, sthis: SuperThis): Promise>; buildUrl(baseUrl: URI, key: string): Promise>; close(): Promise>; getFilePath(url: URI, sthis: SuperThis): string; put(url: URI, bytes: Uint8Array, sthis: SuperThis): Promise>; get(url: URI, sthis: SuperThis): Promise; delete(url: URI, sthis: SuperThis): Promise>; destroy(baseURL: URI, sthis: SuperThis): Promise>; getPlain(iurl: URI, key: string, sthis: SuperThis): Promise, Error>>; }