import { TernaryTreeMap, TernaryTreeMapHashEntry } from "./types.mjs"; export declare function getMapDepth(tree: TernaryTreeMap): number; export declare function initTernaryTreeMapFromHashEntries(xs: Array>): TernaryTreeMap; export declare function initTernaryTreeMap(t: Map): TernaryTreeMap; export declare function initTernaryTreeMapFromArray(t: Array<[K, T]>): TernaryTreeMap; export declare function initEmptyTernaryTreeMap(): TernaryTreeMap; export declare function mapToString(tree: TernaryTreeMap): string; export declare function mapLen(tree: TernaryTreeMap): number; export declare function mapLenBound(tree: TernaryTreeMap, bound: number): number; export declare function formatMapInline(tree: TernaryTreeMap, withHash?: boolean): string; export declare function isMapEmpty(tree: TernaryTreeMap): boolean; export declare function isMapOfOne(tree: TernaryTreeMap, counted?: number): boolean; export declare function toHashSortedPairs(tree: TernaryTreeMap): Array<[K, T]>; export declare function contains(originalTree: TernaryTreeMap, item: K): boolean; export declare function mapGetDefault(originalTree: TernaryTreeMap, item: K, v0: T): T; export declare function checkMapStructure(tree: TernaryTreeMap): boolean; export declare function assocMap(tree: TernaryTreeMap, key: K, item: T, disableBalancing?: boolean): TernaryTreeMap; export declare function dissocMap(tree: TernaryTreeMap, key: K): TernaryTreeMap; /** similar to `toPairs`, but using Array.push directly */ export declare function toPairsArray(tree: TernaryTreeMap): Array<[K, T]>; export declare function toPairs(tree: TernaryTreeMap): Generator<[K, T]>; export declare function toKeys(tree: TernaryTreeMap): Generator; export declare function toValues(tree: TernaryTreeMap): Generator; export declare function mapEqual(xs: TernaryTreeMap, ys: TernaryTreeMap): boolean; export declare function merge(xs: TernaryTreeMap, ys: TernaryTreeMap): TernaryTreeMap; export declare function mergeSkip(xs: TernaryTreeMap, ys: TernaryTreeMap, skipped: T): TernaryTreeMap; export declare function forceMapInplaceBalancing(tree: TernaryTreeMap): void; export declare function sameMapShape(xs: TernaryTreeMap, ys: TernaryTreeMap): boolean; export declare function mapMapValues(tree: TernaryTreeMap, f: (x: T) => V): TernaryTreeMap;