import type { FdoDecimal } from '@feedmepos/core/entity';
import type { FmTextFieldProps, ValidationResult } from '@feedmepos/ui-library';
type FmTextFieldPropsWithoutModel = Omit<FmTextFieldProps, 'modelValue' | 'rules'>;
export type TextValidationRule = ValidationResult | ((value: string) => ValidationResult);
export type DecimalValidationRule = ValidationResult | ((value: FdoDecimal | null) => ValidationResult);
export interface FmDecimalInputProps extends FmTextFieldPropsWithoutModel {
    modelValue: FdoDecimal;
    defaultRules?: boolean;
    textFieldRules?: TextValidationRule[];
    decimalRules?: DecimalValidationRule[];
    precision?: number;
}
export {};
