/** * Inserts text at the current cursor position in a textarea element. * If the browser supports execCommand, it will use that method. * Otherwise, it falls back to manual text insertion. * * @param tArea - The textarea element to insert text into * @param text - The text to insert at the current cursor position * * @example * ```typescript * const textarea = document.querySelector('textarea'); * textAreaInsert(textarea, 'Hello world'); * ``` */ export declare function textAreaInsert(tArea: HTMLTextAreaElement | null | undefined, text: string): void;