export interface IMask extends IMaskFunction { name: string; } export interface IMaskFunction { apply(value: string): string; clean(value: string): string; } export declare function register(masks: IMask[]): void; export declare function getMask(name: string): IMaskFunction;