import React from 'react'; import './index.less'; export interface TextProps extends React.DetailedHTMLProps, HTMLDivElement> { type?: 'primary' | 'success' | 'warning' | 'danger'; /** 禁用 */ disabled?: boolean; } declare const Text: React.FC & { Action: typeof Action; }; declare const Action: { ({ request: requestConfig, requestRef, onSuccess, onFail, confirm, confirmText, description, popconfirmProps, clickable, ...restProps }: TextProps & import("../withRequest").WithRequestConfig & { requestRef?: React.Ref> | undefined; request?: import("../withRequest").RequestConfig | undefined; }): React.JSX.Element; displayName: string; }; export default Text;