import React, { ReactNode } from 'react';
import type { ProFieldValueType, ProFieldValueObjectType, BaseProFieldFC, ProRenderFieldPropsType, ProFieldFCRenderProps, ProFieldTextType } from '../utils';
import FieldPercent from '../wau-percent-field';
import FieldIndexColumn from '../wau-index-column-field';
import FieldProgress from '../wau-progress-field';
import FieldMoney from '../wau-money-field';
import FieldDatePicker from '../wau-date-picker-field';
import FieldRangePicker from '../wau-range-picker-field';
import FieldCode from '../wau-code-field';
import FieldTimePicker from '../wau-time-picker-field';
import FieldText from '../wau-text-field';
import FieldStatus from '../wau-status-field';
import FiledSelect, { proFieldParsingText, proFieldParsingValueEnumToArray } from '../wau-select-field';
import './style';
export type ProFieldEmptyText = string | false;
/** 默认的 Field 需要实现的功能 */
export type ProFieldFC<T> = React.ForwardRefRenderFunction<any, BaseProFieldFC & ProRenderFieldPropsType & T>;
/** Value type by function */
export type ProFieldValueTypeFunction<T> = (item: T) => ProFieldValueType | ProFieldValueObjectType;
type RenderProps = Omit<ProFieldFCRenderProps, 'text'> & ProRenderFieldPropsType & {
    emptyText?: React.ReactNode;
    visible?: boolean;
    onVisible?: (visible: boolean) => void;
    [key: string]: any;
};
/**
 * 根据不同的类型来转化数值
 *
 * @param text
 * @param valueType
 */
declare const defaultRenderText: (text: ProFieldTextType, valueType: ProFieldValueType | ProFieldValueObjectType, props: RenderProps, valueTypeMap: Record<string, ProRenderFieldPropsType>) => React.ReactNode;
export { defaultRenderText };
/** ProField 的类型 */
export type ProFieldPropsType = {
    text?: ProFieldTextType;
    valueType?: ProFieldValueType | ProFieldValueObjectType;
} & RenderProps;
export { FieldPercent, FieldIndexColumn, FieldProgress, FieldMoney, FieldDatePicker, FieldRangePicker, FieldCode, FieldTimePicker, FieldText, FieldStatus, FiledSelect, proFieldParsingText, proFieldParsingValueEnumToArray, };
export type { ProFieldValueType };
declare const _default: React.ForwardRefRenderFunction<any, ProFieldPropsType>;
export default _default;
