import type { ElementState, SelectionRange } from '../types'; export declare function getWordSelection({ value, selection }: ElementState, isForward: boolean): SelectionRange;