import { default as React, CSSProperties, ComponentType } from 'react'; import { PortletConfig } from '../../types.js'; import { PortletDebugDataEntry } from '../../stores/dashboardStore.js'; type IconComponent = ComponentType<{ className?: string; style?: CSSProperties; }>; interface CardIcons { RefreshIcon: IconComponent; EditIcon: IconComponent; DeleteIcon: IconComponent; CopyIcon: IconComponent; FilterIcon: IconComponent; } interface PortletCardHeaderProps { portlet: PortletConfig; className: string; headerStyle?: CSSProperties; restHeaderProps: Record; headerOnClick?: (event: React.MouseEvent) => void; editable: boolean; isEditMode: boolean; isInSelectionMode: boolean; debugData?: PortletDebugDataEntry; copyAvailable: boolean; copySuccess: boolean; xlsExportAvailable: boolean; exportInProgress: boolean; showCacheBustIndicator: boolean; icons: CardIcons; onRefresh: (options?: { bustCache?: boolean; }) => void; onHoverRefreshChange: (hovering: boolean) => void; onCopyToClipboard: (event: React.MouseEvent | React.TouchEvent) => void; onExportXlsx: (event: React.MouseEvent | React.TouchEvent) => void; onOpenFilterConfig: () => void; onDuplicate: () => void; onEdit: () => void; onDelete: () => void; } export default function PortletCardHeader(props: PortletCardHeaderProps): React.JSX.Element; export {};