UNPKG

600 BTypeScriptView Raw
1import type { PipeTransform } from '@angular/core';
2import type { NgxMaskConfig } 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<NgxMaskConfig>): string;
10 private _setMask;
11 static ɵfac: i0.ɵɵFactoryDeclaration<NgxMaskPipe, never>;
12 static ɵpipe: i0.ɵɵPipeDeclaration<NgxMaskPipe, "mask", true>;
13}