import type { IPFS } from "ipfs-core-types";
import { Repo } from "ipfs-core/components/network";
import { IPFSPackage } from "./package.js";
export declare const DEFAULT_CDN_URL = "https://unpkg.com/ipfs-core@0.15.4/dist/index.min.js";
/**
 * Create an IPFS Node given a `IPFSPackage`,
 * which you can get from `pkgFromCDN` or `pkgFromBundle`.
 */
export declare const nodeWithPkg: (pkg: IPFSPackage, peersUrl: string, repoName: string, logging: boolean) => Promise<[IPFS, Repo]>;
/**
 * Loads ipfs-core from a CDN.
 * NOTE: Make sure to cache this URL with a service worker if you want to make your app available offline.
 */
export declare const pkgFromCDN: (cdn_url: string) => Promise<IPFSPackage>;
