UNPKG

@edtr-io/plugin-text

Version:
14 lines 533 B
import { State } from './reducer'; export declare function getFocusTree(state: State): Node | null; export declare function findNextNode(root: Node, from: string): string | null; export declare function findPreviousNode(root: Node, from: string): string | null; export declare function findParent(root: Node, id: string): Node | null; export interface ResolvedIdentifier { parent: string; index?: number; } export interface Node { id: string; children?: Node[]; } //# sourceMappingURL=focus-tree.d.ts.map