import { Node, NodeId } from '../../../../types/core'; /** * Get sorted child node ids for a given parent id. * * Returned list is sorted by each node's `order`, then title. */ export declare function getSortedChildNodeIds(nodes: Record, parentId: NodeId): readonly NodeId[]; /** * Root nodes are those without a parent id. * Returned list is sorted by each node's `order`, then title. */ export declare function getSortedRootNodeIds(nodes: Record): readonly NodeId[];