export = BitswapAPI; declare class BitswapAPI { /** * @param {Object} config * @param {NetworkService} config.network */ constructor({ network }: { network: import("../../utils/service"); }); wantlist: (options?: import("../../utils").AbortOptions | undefined) => Promise; wantlistForPeer: (peerId: string | import("cids") | Uint8Array | import("peer-id"), options?: import("../../utils").AbortOptions | undefined) => Promise; unwant: (cids: import("cids") | import("cids")[], options?: import("../../utils").AbortOptions | undefined) => Promise; stat: (options?: import("../../utils").AbortOptions | undefined) => Promise; } declare namespace BitswapAPI { export { NetworkService, PeerId, CID, AbortOptions }; } type NetworkService = import("../../utils/service"); type PeerId = import("peer-id"); type CID = import("cids"); type AbortOptions = { /** * - A timeout in ms */ timeout?: number | undefined; /** * - Can be used to cancel any long running requests started as a result of this call */ signal?: AbortSignal | undefined; }; //# sourceMappingURL=index.d.ts.map