export type TextareaCaretRect = DOMRect | null; /** * Measures the caret of a textarea by mirroring its styles and text into a hidden element, because * a textarea exposes no caret geometry. * * @param textarea - Textarea to measure. * @param selectionEnd - Caret index. Defaults to `textarea.selectionEnd`. * @returns A zero-width rect at the caret in viewport coordinates, or `null` when there is no * textarea or no `window`. */ export declare const getTextareaCaretRect: (textarea: HTMLTextAreaElement | null, selectionEnd?: number) => TextareaCaretRect; //# sourceMappingURL=getTextareaCaretRect.d.ts.map