import { CID } from "multiformats/cid"; import { ShardedStore } from "./sharded-store.js"; import { HamtStore } from "./hamt-store.js"; import { IPFSELEMENTS_INTERFACE } from "./ipfs-elements.js"; type StoreType = "sharded" | "hamt"; type ResolveOptionsInput = IPFSELEMENTS_INTERFACE | OpenStoreOptions | undefined; export type OpenStoreOptions = { /** * Supply fully customised IPFS primitives. Takes precedence over gatewayUrl. */ ipfsElements?: IPFSELEMENTS_INTERFACE; /** * Gateway URL to use when ipfsElements is not provided. Defaults to the * dClimate public gateway for convenience. */ gatewayUrl?: string; }; export declare const detectIpfsStoreType: (cid: string | CID, options?: ResolveOptionsInput) => Promise; export declare const openIpfsStore: (cid: string | CID, options?: ResolveOptionsInput) => Promise<{ type: StoreType; store: ShardedStore | HamtStore; }>; export {}; //# sourceMappingURL=open-store.d.ts.map