import { DecimalDisplayModeType } from '../../domain/constants/enum';
import { FIELD_TYPE } from '../../domain/field/field-type';
export declare function getValue(value: any, multiple: boolean): any;
export declare function setValue(value: any, valuePath: string, payload?: {
    multiple?: boolean;
    options?: any;
    valueKey?: string;
    labelKey?: string;
    needLabel?: boolean;
    row?: any;
}): {
    [x: string]: any;
};
export declare function toBoolean(value: any): boolean | null;
export declare function toFormatValue(fieldType: FIELD_TYPE, value: any): any;
export declare function toDictValue(field: string, value: any, row: any): any;
export declare function getSelectOptions(payload: any): {
    selectOptions: any;
    labels: any;
    labelJson: any;
};
export declare function getRdoSelectOptions(payload: any): {
    labels: any;
    labelJson: any;
};
/**
 * 补全日期时间
 * @param timeStr '2025-12-02 10:12:03' | '10:12:03'
 */
export declare function normalizeDateTime(timeStr: string): string;
export declare function formatDateTime(attrs: any, value?: string): string;
export declare function formatDateTimeHook(props: any, value?: string): string;
/** 判断一个日期或日期时间字符串是否在最小和最大时间戳之间 */
export declare function isOutOfRange(inputStr: string, minTimestamp?: number, maxTimestamp?: number): boolean;
type NumberFieldType = 'fw:number' | 'fw:double';
type RoundingMode = 1 | 4 | 6;
type NormalizeNumberTextOptions = {
    type: NumberFieldType;
    digits?: number;
    roundingMode?: RoundingMode;
    displayMode?: DecimalDisplayModeType;
};
type NormalizeNumberTextResult = {
    value: string | null;
    changed: boolean;
};
/**
 * 结束输入时的数字规范化：
 * - 对齐 gct-inputnumber 的前缀解析语义（容忍尾部噪声，取可解析前缀）
 * - 非法值落为空字符串
 * - fw:number 根据 digits 执行整数化或小数截断
 */
export declare function normalizeNumberTextOnCommit(rawText: string, options: NormalizeNumberTextOptions): NormalizeNumberTextResult;
export declare function buildNumberFormats(props: any, type: NumberFieldType): {
    type: NumberFieldType;
    digits: number | undefined;
    roundingMode: RoundingMode | undefined;
    displayMode: any;
};
export declare function formatNumberHook(props: any, type: NumberFieldType, value?: string | number): string | number | undefined;
export {};
