/** * @name autoResize * @namespace js.dom.input * @type Function * @platform js * @status stable * * Automatically resize a textarea height * * @param {HTMLFormElement} $textarea The textarea to auto resize * * @todo tests * * @snippet __autoResize($1) * * @example js * import { __autoResize } from '@lotsof/sugar/dom'; * __autoResize($textarea); * * @see https://stackoverflow.com/a/56416714 * @since 1.0.0 * @author Olivier Bossel (https://olivierboss$input.com) */ export default function autoResize($textarea: HTMLTextAreaElement): void;