import { ButtonActionsType, TableColumns } from '../components'; export type statusType = 'success' | 'warning' | 'info' | 'primary' | 'danger' | undefined; export declare const matchItem: (data: Record, value?: T) => { value: T; label: string; color?: string; status?: string; } | undefined; type commonProps = { showOverflowTooltip?: boolean; tooltip?: string; }; /** * 金额数据处理 */ type currencyProps = { decimal?: number; monetaryType?: string; sortable?: boolean; minWidth?: number; } & commonProps; export declare function currencyColumn(name: string, label: string, otherProps?: currencyProps): TableColumns; type numberProps = { sortable?: boolean; minWidth?: number; } & commonProps; export declare function numberColumn(name: string, label: string, otherProps?: numberProps): TableColumns; type stringProps = { align?: 'left' | 'center' | 'right'; } & commonProps; export declare function stringColumn(name: string, label: string, minWidth?: number, otherProps?: stringProps): TableColumns; export declare function statusColumn(name: string, label: string, Enum: Record, value: any, otherProps?: commonProps): TableColumns; type ButtonAction = ButtonActionsType & { onClick?: () => any; hidden?: boolean; }; type OperateProps = (row: any) => ButtonAction[]; type ModeType = 'button' | 'text' | 'link' | 'plain' | 'background'; type operateOtherProps = { label?: string; mode?: ModeType; confirmWidth?: number; } & commonProps; export declare function operateColumn(actionsProps: OperateProps, otherProps?: operateOtherProps): TableColumns; export {};