/** @internal */
import { CID } from "multiformats/cid";
import { Links, HardLink, SimpleLinks } from "../../types.js";
import { TreeInfo, FileInfo, Skeleton, PutDetails } from "./types.js";
import { Metadata } from "../../metadata.js";
import { Maybe } from "../../../common/index.js";
import { FileContent } from "../../../ipfs/index.js";
export declare const putTree: (links: Links, skeletonVal: Skeleton, metadataVal: Metadata, previousCID: Maybe<CID>) => Promise<PutDetails>;
export declare const putFile: (content: FileContent, metadataVal: Metadata, previousCID: Maybe<CID>) => Promise<PutDetails>;
export declare const putAndMakeLink: (name: string, val: FileContent) => Promise<HardLink>;
export declare const get: (cid: CID) => Promise<TreeInfo | FileInfo>;
export declare const getValue: (linksOrCID: SimpleLinks | CID, name: string) => Promise<unknown>;
export declare const getValueFromLinks: (links: SimpleLinks, name: string) => Promise<unknown>;
export declare const getAndCheckValue: <T>(linksOrCid: SimpleLinks | CID, name: string, checkFn: (val: any) => val is T, canBeNull?: boolean) => Promise<T>;
export declare const checkValue: <T>(val: any, name: string, checkFn: (val: any) => val is T, canBeNull?: boolean) => T;
export declare function normalizeFileContent(content: FileContent): Promise<Uint8Array>;
