export type TextareaCaretRect = DOMRect | null;
/**
 * Returns the caret rectangle for a textarea using a mirror-measure hack.
 * It clones computed styles and content into a hidden element to infer the
 * caret position because textarea doesn't expose caret geometry.
 */
export declare const getTextareaCaretRect: (textarea: HTMLTextAreaElement | null, selectionEnd?: number) => TextareaCaretRect;
//# sourceMappingURL=getTextareaCaretRect.d.ts.map