import React from "react";
export declare function toFixed(numStr: string, prec: number): string;
export declare function formatWithPrecision(value: string | number | undefined, precision: number): string | undefined;
export declare function enforceDecimalPrecision(value: string, precision: number): string;
export declare function formatWithRejectCharsRegex(value: string, rejectCharsRegex?: RegExp): string;
export declare function getTrimmedValue(value: string | number, disableTrimOnBlur: boolean): string | number;
export declare function preserveCursor(e: React.ChangeEvent<HTMLInputElement>, updateValueFn: () => React.ChangeEvent<HTMLInputElement>): React.ChangeEvent<HTMLInputElement, Element>;
