| 1 |
import Masked, { type MaskedOptions } from './base'; |
| 2 |
export type MaskedFunctionOptions = MaskedOptions<MaskedFunction>; |
| 3 |
/** Masking by custom Function */ |
| 4 |
export default class MaskedFunction<Value = any> extends Masked<Value> { |
| 5 |
/** */ |
| 6 |
mask: (value: string, masked: Masked) => boolean; |
| 7 |
/** Enable characters overwriting */ |
| 8 |
overwrite?: boolean | 'shift' | undefined; |
| 9 |
/** */ |
| 10 |
eager?: boolean | 'remove' | 'append' | undefined; |
| 11 |
/** */ |
| 12 |
skipInvalid?: boolean | undefined; |
| 13 |
/** */ |
| 14 |
autofix?: boolean | 'pad' | undefined; |
| 15 |
updateOptions(opts: Partial<MaskedFunctionOptions>): void; |
| 16 |
_update(opts: Partial<MaskedFunctionOptions>): void; |
| 17 |
} |
| 18 |
//# sourceMappingURL=function.d.ts.map |