11 lines
467 B
TypeScript
11 lines
467 B
TypeScript
import { INode, MaskInputFn, MaskInputOptions } from './types';
|
|
export declare function isElement(n: Node | INode): n is Element;
|
|
export declare function isShadowRoot(n: Node): n is ShadowRoot;
|
|
export declare function maskInputValue({ maskInputOptions, tagName, type, value, maskInputFn, }: {
|
|
maskInputOptions: MaskInputOptions;
|
|
tagName: string;
|
|
type: string | number | boolean | null;
|
|
value: string | null;
|
|
maskInputFn?: MaskInputFn;
|
|
}): string;
|