import type { ReactNode } from 'react'; export type ReportItem = { id: string; result_file: string; created_at: number; }; export type DownloadedReport = { id: string; url: string; result_file: string; created_at: number; }; export type TableReportsCustomContentProps = { closeDropdown: () => void; }; export interface TableReportsProps { progress: number; reportsQueryResult: { data?: { reports?: ReportItem[]; }; isLoading?: boolean; }; isStatusReady?: boolean; isStatusFailed?: boolean; isLoading?: boolean; notificationState?: { success: boolean; failed: boolean; }; onRequestReportFile?: () => Promise; onOpenDropdown?: () => void; onOpenReportsApp?: () => void; hideOpenReportsApp?: boolean; onDownloadReport?: (reportId: string) => Promise; customContent?: (props: TableReportsCustomContentProps) => ReactNode; }