1 | import { t } from '../common';
|
2 | declare type Node = t.INode;
|
3 | declare type TreeNode = t.ITreeNode;
|
4 | export declare const helpers: {
|
5 | id: t.TreeIdentity;
|
6 | isInstance(input: any): boolean;
|
7 | props<P>(of: Node, fn?: ((props: P) => void) | undefined): P;
|
8 | children<T extends t.ITreeNode<Record<string, unknown>>>(of: T, fn?: ((children: T[]) => void) | undefined): T[];
|
9 | ensureNamespace(root: TreeNode, namespace: string): void;
|
10 | };
|
11 | export {};
|
12 |
|
\ | No newline at end of file |