import type { ITreeNodeLike } from "../tree-model.js";
/**
 * @public
 * Iterates over the whole tree, in a depth first fashion.
 *
 * @param node - The start point.
 * @param callback - Called for each node, including the start point.
 *
 * @remarks
 * See {@link treeIterate}.
 */
export declare function treeIterate<TNode extends ITreeNodeLike<TNode>>(node: TNode, callback: (node: TNode, parent: TNode | null, depth: number) => void): void;
//# sourceMappingURL=tree-iterate.d.ts.map