UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

15 lines 819 B
export class StatsAPI { /** * @param {object} config * @param {import('ipfs-repo').IPFSRepo} config.repo * @param {import('../../types').NetworkService} config.network */ constructor({ repo, network }: { repo: import('ipfs-repo').IPFSRepo; network: import('../../types').NetworkService; }); repo: (options?: import("ipfs-core-types").AbortOptions | undefined) => Promise<import("ipfs-core-types/src/repo/index.js").StatResult>; bw: (options?: import("ipfs-core-types/src/stats/index.js").BWOptions | undefined) => AsyncIterable<import("ipfs-core-types/src/stats/index.js").BWResult>; bitswap: (options?: import("ipfs-core-types").AbortOptions | undefined) => Promise<import("ipfs-core-types/src/bitswap/index.js").Stats>; } //# sourceMappingURL=index.d.ts.map