UNPKG

822 BTypeScriptView Raw
1import { CustomSanitizer } from '../base';
2import * as Options from '../options';
3export interface Sanitizers<Return> {
4 customSanitizer(sanitizer: CustomSanitizer): Return;
5 default(default_value: any): Return;
6 replace(values_to_replace: any, new_value: any): Return;
7 blacklist(chars: string): Return;
8 escape(): Return;
9 unescape(): Return;
10 ltrim(chars?: string): Return;
11 normalizeEmail(options?: Options.NormalizeEmailOptions): Return;
12 rtrim(chars?: string): Return;
13 stripLow(keep_new_lines?: boolean): Return;
14 toArray(): Return;
15 toBoolean(strict?: boolean): Return;
16 toDate(): Return;
17 toFloat(): Return;
18 toInt(radix?: number): Return;
19 toLowerCase(): Return;
20 toUpperCase(): Return;
21 trim(chars?: string): Return;
22 whitelist(chars: string): Return;
23}