/** * Common mask patterns for various input types * * Pattern characters: * # = digit (0-9) * A = letter (a-z, A-Z) * * = alphanumeric * All other characters are literals (e.g., parentheses, dashes, spaces) */ export declare const MaskPatterns: { readonly PHONE_US: "(###) ###-####"; readonly PHONE_US_WITH_EXT: "(###) ###-#### ext. #####"; readonly PHONE_INTERNATIONAL: "+## (###) ###-####"; readonly CREDIT_CARD: "#### #### #### ####"; readonly CREDIT_CARD_AMEX: "#### ###### #####"; readonly DATE_US: "##/##/####"; readonly DATE_ISO: "####-##-##"; readonly DATE_EU: "##.##.####"; readonly TIME_12H: "##:## AM"; readonly TIME_24H: "##:##"; readonly DATETIME_US: "##/##/#### ##:##"; readonly SSN: "###-##-####"; readonly BRAZILIAN_CPF: "###.###.###-##"; readonly ZIP_US: "#####"; readonly ZIP_US_PLUS4: "#####-####"; readonly IPV4: "###.###.###.###"; readonly MAC_ADDRESS: "##:##:##:##:##:##"; /** * @deprecated Broken — the leading `#` is the digit token, so this mask * cannot accept a hex color, and a literal `#` is not expressible in a * pattern. Use `format="HHHHHH"` with * `customPatterns={{ H: /[0-9a-fA-F]/ }}` instead. Will be removed in 3.0. */ readonly HEX_COLOR: "#******"; }; export type MaskPattern = (typeof MaskPatterns)[keyof typeof MaskPatterns] | string;