UNPKG

word-frequency-counter

Version:
11 lines (10 loc) 401 B
type ProtectionMap = Map<string, string>; export declare class Protection { private randomStringGenerator; private protectionMap; constructor(protectedWords: string[], randomStringGenerator: () => string); buildProtectionMap: (protectedWords: string[]) => ProtectionMap; addWordProtection: (text: string) => string; removeWordProtection: (text: string) => string; } export {};