import { type PartialWithUndefined } from '@augment-vir/core';
/**
 * Collapse all consecutive white space into just one space and trim surrounding whitespace.
 * Optionally, collapsed newlines can be preserved.
 *
 * @category String
 * @category Package : @augment-vir/common
 * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
 */
export declare function collapseWhiteSpace(input: string, { keepNewLines }?: PartialWithUndefined<{
    keepNewLines: boolean;
}>): string;
