/** * @param {string} s - The string to replace * @param {number} start - The start index * @param {number} end - The end index * @param {string} substitute - the substituting string */ export function replaceRange(s: string, start: number, end: number, substitute: string): string; /** * @param {string} text * @param {RegExp} regex */ export function replaceLast(text: string, regex: RegExp): string;