import { RefOrElementOrCallback } from './getRefElement'; /** * get current input element selection position and is that selectRange state */ export declare function getSelectionPosition(sourceTarget: RefOrElementOrCallback): { isSelectRange: boolean; position: { start: number; end: number; }; }; /** * set input element selection position position, * if you need scroll that into view set `scrollIntoView` as true */ export declare function setSelectionPosition(target: RefOrElementOrCallback, options: { start: number | null; end: number | null; direction?: 'forward' | 'backward' | 'none' | undefined; scrollIntoView?: boolean; }): void; /** clean whole selection */ export declare function clearWindowSelection(): void;