export declare const words: (str: string, pattern?: RegExp) => string[];