import type { CurrencyInputFormatParts } from "./currency-input.types";
/** Utility helpers for parsing, formatting, and caret math in the currency input field. */
export declare const resolveCurrencyInputFormatParts: (locale: string) => CurrencyInputFormatParts;
export declare const parseCurrencyInputDisplay: (display: string, prefix: string, parts: CurrencyInputFormatParts) => string;
export declare const normalizeCurrencyInputInitialZero: (nextRaw: string, previousRaw: string) => string;
export declare const formatCurrencyInputRawValue: (raw: string, locale: string, decimalPlaces: number, parts: CurrencyInputFormatParts) => string;
export declare const clampCurrencyInputValue: (value: number, min: number, max: number | undefined) => number;
export declare const countDigitsBeforePosition: (value: string, position: number) => number;
export declare const findPositionAfterDigits: (value: string, digitCount: number) => number;
export declare const sanitizeCurrencyInputPastedValue: (input: string, parts: CurrencyInputFormatParts, decimalPlaces: number) => string;
