import { TreeNode } from '../spec/parser';
export declare const _keyUpdateTree: (root: TreeNode, path: number[], value: string, key: string, selectionStart: number, selectionEnd: number, shiftKey: boolean) => [boolean, {
    nextRoot: TreeNode;
    nextPath: number[];
    nextSelectionStart: number;
    nextSelectionEnd: number;
    nextDirection?: 'forward' | 'backward' | 'none' | undefined;
}];
export declare const keyUpdateTree: (root: string, focus: number[], value: string, key: string, selectionStart: number, selectionEnd: number, shiftKey: boolean) => [boolean, {
    nextRoot: string;
    nextPath: number[];
    nextSelectionStart: number;
    nextSelectionEnd: number;
}];
