import { Optional } from '@ephox/katamari'; import { SugarElement } from '../node/SugarElement'; import type { RawRect } from './Rect'; import { SimRange } from './SimRange'; import { SimSelection } from './SimSelection'; import type { Situ } from './Situ'; declare const findWithin: (win: Window, selection: SimSelection, selector: string) => SugarElement[]; declare const setExact: (win: Window, start: SugarElement, soffset: number, finish: SugarElement, foffset: number) => void; declare const setRelative: (win: Window, startSitu: Situ, finishSitu: Situ) => void; declare const toNative: (selection: SimSelection) => Range; declare const setToElement: (win: Window, element: SugarElement, selectNodeContents?: boolean) => void; declare const forElement: (win: Window, element: SugarElement) => SimRange; declare const getExact: (win: Window) => Optional; declare const get: (win: Window) => Optional; declare const getFirstRect: (win: Window, selection: SimSelection) => Optional; declare const getBounds: (win: Window, selection: SimSelection) => Optional; declare const getAtPoint: (win: Window, x: number, y: number) => Optional; declare const getAsString: (win: Window, selection: SimSelection) => string; declare const clear: (win: Window) => void; declare const clone: (win: Window, selection: SimSelection) => SugarElement; declare const replace: (win: Window, selection: SimSelection, elements: SugarElement[]) => void; declare const deleteAt: (win: Window, selection: SimSelection) => void; declare const isCollapsed: (start: SugarElement, soffset: number, finish: SugarElement, foffset: number) => boolean; export { setExact, getExact, get, setRelative, toNative, setToElement, clear, clone, replace, deleteAt, forElement, getFirstRect, getBounds, getAtPoint, findWithin, getAsString, isCollapsed }; //# sourceMappingURL=WindowSelection.d.ts.map