import { MessageFunctionType, Result } from '../types'; export interface BlacklistErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; CHARS_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const BLACKLIST_ERRORS: BlacklistErrors; /** * Remove characters that appear * in the blacklist. * * Since the characters are used in a RegExp, some special * characters must be escaped. * * For example slashes `blacklist(input, '\\[\\]')`. * * @param target * @param chars */ export declare function blacklist(target: string, chars: string): Result;