import * as React from 'react'; import { Field } from '@alifd/next'; import type { CardProps } from '@alifd/next/types/card'; import './index.scss'; export interface Api { ptcpCd: string; ptcpNm: string; intfSeqNbr: number; intfCd: string; intfTypeCd: string; intfTypeNm: string; intfPath: string; intfPrtclCd: string; rqstModeCd: string; rqstEntityCd: string; rqstEntityNm: string; respEntityCd: string; respEntityNm: string; commHeaderCd: string; commHeaderNm: string; commUpsCd: string; commUpsNm?: any; rerryMaxCnt: number; rerayIntrvlStr: string; timeoutCnt: number; secureTypeCd: string; status: string; versionNbr: number; validInd: boolean; createTime: string; lastUpdateById: string; lastUpdateByNm: string; lastUpdateTime: string; methodNm?: any; targetNamespace?: any; } export interface CbayelProCardProps extends CardProps { color?: string; isCollapse: boolean; isShowHeader: boolean; operations: Operations[]; field: Field; } export interface Data { [x: string]: { type: 'FORM' | 'FIXED'; value: string; }; } export interface Service { api: Api; request: { name: string; schema: string; map: Data; }; response?: { name: string; schema: string; map: Data; }; selectDataSourceResponse?: { name: string; schema: string; map: { label: 'string'; value: 'string'; }; }; } interface Operations { id: string; content: string; type: 'primary' | 'secondary' | 'normal'; onClick: () => Promise; beforeAction: () => Promise; afterAction: () => Promise; service: Service; } declare const ProCard: React.ForwardRefRenderFunction; export default ProCard;