/**
 * The MIT License
 * Copyright (c) 2018 Dmitriy Kubyshkin
 * Copied from https://github.com/grassator/insert-text-at-cursor
 */
/**
 * @param {string} val
 * @param {number} cursorIdx
 * @param {HTMLTextAreaElement|HTMLInputElement} input
 * @return {void}
 */
export declare const insertAtLineStart: (val: string, cursorIdx: number, input: HTMLTextAreaElement | HTMLInputElement) => void;
/**
 * @param {HTMLTextAreaElement|HTMLInputElement} input
 * @param {string} text
 * @returns {void}
 */
export declare function insertTextAtPosition(input: HTMLTextAreaElement | HTMLInputElement, text: string): void;
