/** * mask - a tiny pattern-mask engine shared by SvMaskedInput / SvPhoneInput. * Pattern tokens: * # a digit (0-9) * A a letter (a-z A-Z) * * a letter or digit * Any other character is a literal that is auto-inserted. Framework-free. */ /** * Apply `pattern` to raw input `value`, inserting literals and dropping chars * that don't fit the next token. Returns the formatted string and the count of * consumed input characters (useful for caret math). */ export declare function applyMask(value: string, pattern: string): { formatted: string; filled: number; }; /** Strip literals, returning only the data characters the user supplied. */ export declare function unmask(value: string, pattern: string): string; /** True when every token position in the pattern is filled. */ export declare function isMaskComplete(value: string, pattern: string): boolean;