/** * @name cursorToEnd * @namespace js.dom.input * @type Function * @platform js * @status stable * * Place the cursor to the end of the input * * @param {HTMLFormElement} $input The input to process * * @todo tests * * @snippet __cursorToEnd($1) * * @example js * import { __cursorToEnd } from '@lotsof/sugar/dom'; * __cursorToEnd($input); * * @see https://stackoverflow.com/a/56416714 * @since 1.0.0 * @author Olivier Bossel (https://olivierboss$input.com) */ export default function __cursorToEnd($input: HTMLTextAreaElement | HTMLInputElement): void;