/** * Splits `string` into an array of its words. * * words('fred, barney, & pebbles') // => ['fred', 'barney', 'pebbles'] * words('fred, barney, & pebbles', /[^, ]+/g) // => ['fred', 'barney', '&', 'pebbles'] */ export declare function words(input: string, pattern?: RegExp | string): string[];