import React from 'react'; import type { ProFieldEmptyText } from '@ant-design/pro-field'; import type { ProSchemaComponentTypes } from '@ant-design/pro-utils'; import type { ProColumnType } from './interface'; /** * 如果是个方法执行一下它 */ export declare function runFunction(valueEnum: any, ...rest: T): any; /** * 拼接用于编辑的 key * @param base 基本的 key * @param dataIndex 需要拼接的key */ export declare const spellNamePath: (base: React.Key, dataIndex: React.Key | React.Key[]) => React.Key[] | React.Key | undefined; /** * 根据不同的类型来转化数值 * @param text * @param valueType */ declare function defaultRenderText(config: { text: string | number | React.ReactText[]; valueType: ProColumnType['valueType']; index: number; rowData?: T; columnEmptyText?: ProFieldEmptyText; columnProps?: ProColumnType; type?: ProSchemaComponentTypes; recordKey?: React.Key; }): React.ReactNode; export default defaultRenderText;