/**
 *
 * @description
 * Repeats a string `n` times using an efficient algorithm.
 *
 * @param {string} str The string to repeat
 * @param {number} n The number of times to repeat the string
 * @returns {string} The string that repeats `str` by `n`
 */
declare function repeat(str: string, n: number): string;

export { repeat as default, repeat };
