export declare function hasBadWords(str: string, badWords?: string[], allowedWords?: string[]): boolean;