import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; import type { Cont, TraversalFn, VisitResult } from "@tsplus/stdlib/collections/HashMap/_internal/hashMap"; import { visitLazyChildren as visitLazyChildrenInternal } from "@tsplus/stdlib/collections/HashMap/_internal/hashMap"; import type { Node } from "@tsplus/stdlib/collections/HashMap/_internal/node"; import { isEmptyNode as isEmptyNodeInternal, isLeafNode as isLeafNodeInternal } from "@tsplus/stdlib/collections/HashMap/_internal/node"; export { Node } from "@tsplus/stdlib/collections/HashMap/_internal/node"; /** * @tsplus static HashMap.Node.Ops empty * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function emptyNode(): Node; /** * @tsplus static HashMap.Node.Ops leaf * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function leafNode(edit: number, hash: number, key: K, value: Maybe): Node; /** * @tsplus static HashMap.Node.Ops collision * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function collisionNode(edit: number, hash: number, children: Array>): Node; /** * @tsplus static HashMap.Node.Ops indexed * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function indexedNode(edit: number, mask: number, children: Array>): Node; /** * @tsplus static HashMap.Node.Ops array * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function arrayNode(edit: number, size: number, children: Array>): Node; /** * @tsplus static HashMap.Node.Ops isEmptyNode * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare const isEmptyNode: typeof isEmptyNodeInternal; /** * @tsplus static HashMap.Node.Ops isLeafNode * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare const isLeafNode: typeof isLeafNodeInternal; /** * @tsplus pipeable HashMap.Node canEdit * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function canEditNode(edit: number): (node: Node) => boolean; /** * @tsplus pipeable HashMap.Node visitLazy * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare function visitLazy(f: TraversalFn, cont?: Cont): (node: Node) => Maybe>; /** * @tsplus fluent HashMap.Node.Ops visitLazyChildren * @tsplus location "@tsplus/stdlib/collections/HashMap/operations/node" */ export declare const visitLazyChildren: typeof visitLazyChildrenInternal; //# sourceMappingURL=node.d.ts.map