/** * Whole-token English profanity filter. Stars the matched word in place * (shit -> s***) so chat, whispers, and free-typed names can share one pass. * * Matching is bounded by letters, not raw substrings, so innocent words such * as classic, assume, assistant, and cocktail stay untouched. */ /** True when any whole-token swear or slur is present. */ export declare function textHasProfanity(text: string): boolean; /** Replace each profane token in place, keeping the first letter. */ export declare function filterProfanity(text: string): string; //# sourceMappingURL=profanity.d.ts.map