export declare const insertAtCursor: (input: HTMLInputElement | HTMLTextAreaElement, textToInsert: string) => void; export declare const truncateString: (text: string, limit?: number, endPrefix?: string) => string;