///
import _whitelist from 'validator/lib/whitelist';
import { IStringProps, TStringValidatorResult } from '../_types';
declare type TParameters = Parameters;
export interface IWhitelistProps {
/**
* Whitelist to be used. The characters are used in a RegExp and so you will need to escape some chars, e.g. `\\[\\]`.
*/
chars: TParameters[1];
}
/**
* Remove characters that appear in the whitelist.
*/
export declare const whitelist: (props: IWhitelistProps & Omit) => TStringValidatorResult;
export {};