/** @internal */
import type { ImportCandidate } from "ipfs-core-types/src/utils";
import { CID } from "multiformats/cid";
import { FileContent, AddResult } from "../../ipfs/index.js";
import { SimpleLinks, Links } from "../types.js";
export declare const getFile: (cid: CID) => Promise<Uint8Array>;
export declare const getEncryptedFile: (cid: CID, key: string) => Promise<FileContent>;
export declare const putFile: (content: ImportCandidate) => Promise<AddResult>;
export declare const putEncryptedFile: (content: FileContent, key: string) => Promise<AddResult>;
export declare const getSimpleLinks: (cid: CID) => Promise<SimpleLinks>;
export declare const getFileSystemLinks: (cid: CID) => Promise<Links>;
export declare const putLinks: (links: Links | SimpleLinks) => Promise<AddResult>;
