import { CID } from "multiformats/cid";
import { PBLink, PBNode } from "@ipld/dag-pb";
import type { IPFSEntry } from "ipfs-core-types/src/root";
import type { ImportCandidate } from "ipfs-core-types/src/utils";
import { AddResult } from "./types.js";
export declare const add: (content: ImportCandidate) => Promise<AddResult>;
export declare const catRaw: (cid: CID) => Promise<Uint8Array[]>;
export declare const catBuf: (cid: CID) => Promise<Uint8Array>;
export declare const cat: (cid: CID) => Promise<string>;
export declare const ls: (cid: CID) => Promise<IPFSEntry[]>;
export declare const dagGet: (cid: CID) => Promise<PBNode>;
export declare const dagPut: (node: PBNode) => Promise<AddResult>;
export declare const dagPutLinks: (links: PBLink[]) => Promise<AddResult>;
export declare const size: (cid: CID) => Promise<number>;
