UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

9 lines (8 loc) 601 B
import type { BankAccountType } from '../../../../components/number-format/utils/formatBankAccountNumber'; import type { FieldBlockWidth } from '../../FieldBlock/FieldBlock'; type MaskEntry = Array<RegExp | string>; export declare function getMask(bankAccountType: BankAccountType, omitMask: boolean, value?: string): MaskEntry; export declare function getInputMode(bankAccountType: BankAccountType): 'numeric' | 'text'; export declare function getWidth(bankAccountType: BankAccountType): FieldBlockWidth; export declare function hasVariableMask(bankAccountType: BankAccountType): boolean; export {};