/**
 * Normalize all white-space characters and remove trailing ones received text.
 * @example
 * normalizeWhiteSpaces`It is ${temperature}\n  degree\r outside.  `
 * //=> 'It is 25 degree outside.'
 * @param parts
 * @param values
 */
declare function normalizeWhiteSpaces(parts: TemplateStringsArray, ...values: unknown[]): string;
/**
 * Normalize all white-space characters and remove trailing ones received text.
 * @example
 * normalizeWhiteSpaces(' What exactly is it?   ');
 * //=> "What exactly is it?"
 *
 * normalizeWhiteSpaces('Hi,   how is \r\n everything  \t?');
 * //=> 'Hi, how is everything ?'
 * @param text
 */
declare function normalizeWhiteSpaces(text: string): string;
export default normalizeWhiteSpaces;
//# sourceMappingURL=normalizeWhiteSpaces.d.ts.map