import { KOREAN_NUMBERS, KOREAN_UNITS, K_NUMBER_FORMAT, STRING_NUMBERS } from '../constants'; import { ErrorCollectionValue } from '../errors'; export type NumberString = (typeof STRING_NUMBERS)[number]; export type NonZeroNumberString = Exclude; export type KoreanNumberString = (typeof KOREAN_NUMBERS)[number]; export type KoreanUnit = (typeof KOREAN_UNITS)[number]; export type KNumberFormat = (typeof K_NUMBER_FORMAT)[number]; export type NumberAndKoreanRecord = Record; export type KNumberConfig = { format?: KNumberFormat; onError?: (error: ErrorCollectionValue) => string | undefined; };