/// declare type FieldNames = { title: string; key: string; children: string; }; export declare type NodePos = number[]; export declare const getHelper: (refs: { root: T; }, fieldNames: FieldNames, clone?: ((node: N) => N) | undefined) => { readonly dataSource: any[] | undefined; take(x: any): { key: import("react").Key | undefined; title: string | undefined; children: any[] | undefined; }; getPos(n: T): any; posToParents(pos: NodePos): any[]; posToPath(pos: NodePos): string | undefined; getNodeAtPos(pos: NodePos | null): T | null; append(pos: NodePos, method?: 'push' | 'unshift' | 'replace', ...nodes: T[]): void; copy(pos: NodePos, neo?: T | undefined): void; remove(pos: NodePos): void; move(before: NodePos, after: NodePos): void; }; export {};