import { CID } from "multiformats/cid"; export type DagCborBlockstore = { get: (cid: string | CID) => Promise; }; export type UnixfsCat = { cat: (cid: string | CID, options?: { offset?: number; length?: number; }) => AsyncIterable; }; export interface IPFSELEMENTS_INTERFACE { dagCbor: { components: { blockstore: { get: DagCborBlockstore['get']; }; }; }; unixfs: { cat: UnixfsCat['cat']; }; } export declare function createIpfsElements(gatewayUrl?: string): { dagCbor: { components: { blockstore: DagCborBlockstore; }; }; unixfs: { cat: (cid: string | CID, options?: { offset?: number; length?: number; }) => AsyncIterable; }; }; //# sourceMappingURL=ipfs-elements.d.ts.map