import { type Client } from '../client'; export declare enum IpfsContentFormat { FormData = "formdata", ArrayBuffer = "arraybuffer", Blob = "blob", Text = "text", JSON = "json" } export declare class IpfsService { private readonly client; constructor(client: Client); upload: (obj: object) => Promise; /** * Get IPFS Content in JSON, without caching, to be in getIpfsContent. * @param {string} hash - hash of the IPFS content you want to fetch * @param {IpfsContentFormat} format - format of the content you are fetching, * @returns content of the ipfs hash in your preferred format */ fetch: (hash: string, ipfsContentForm?: IpfsContentFormat) => Promise; }