UNPKG

577 BTypeScriptView Raw
1import { PipeTransform } from '@angular/core';
2import { IConfig } from './ngx-mask.config';
3import * as i0 from "@angular/core";
4export declare class NgxMaskPipe implements PipeTransform {
5 private readonly defaultOptions;
6 private readonly _maskService;
7 private _maskExpressionArray;
8 private mask;
9 transform(value: string | number, mask: string, { patterns, ...config }?: Partial<IConfig>): string;
10 private _setMask;
11 static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskPipe, never>;
12 static ɵpipe: i0.ɵɵPipeDeclaration<NgxMaskPipe, "mask", true>;
13}