import { ReactNode } from 'react'; import { AlertProps } from 'antd/lib/alert'; import { IStatusBoxProps } from '../status-box'; import './style'; interface InfoText { text: string; link?: { linkText: string; onClick?: (params?: any) => void; } | { linkText: string; onClick?: (params?: any) => void; }[]; } interface InfoItem { title: string; info: InfoText | string | Array | any; span?: 6 | 12 | 18 | 24; hide?: boolean; } interface IPolicyButtonsProps { label: string; onClick?: (policyInfo?: any) => void; icon?: any; render?: () => ReactNode; type?: 'dashed' | 'default' | 'ghost' | 'link' | 'primary' | 'text'; } export interface IPolicyCardProps { insurerLogo?: any; insurerName?: string; insurerType?: string; statusProps?: IStatusBoxProps; messageBar?: AlertProps; className?: string; style?: { [key: string]: any; }; buttons?: IPolicyButtonsProps[]; infoGroups?: { sectionName?: string; infoItems: InfoItem[]; }[]; defaultItems?: InfoItem[]; onExpand?: (cardInfo?: any) => any; [key: string]: any; } declare const PolicyCard: (props: IPolicyCardProps) => import("react/jsx-runtime").JSX.Element; export default PolicyCard;