import * as react_jsx_runtime from 'react/jsx-runtime'; /** * BankStatementDocumentTable — WealthX DS (L3 Organism) * * A table for managing bank statement documents inside the Bank Statement tab * of `OpportunityDetailsDrawer`. Renders two instances per opportunity: * one for the main applicant and one for the co-applicant. * * Features: * - Select-all / individual row checkboxes * - "Download All" bulk action (disabled when nothing selected) * - Per-row view (click name), download, and delete actions * - Loading and empty states * * Layer: L3 Organism * * Data source: bank statement documents fetched via `DocumentTypeFilter.GENERATED` */ interface BankStatementDocument { id: string; /** Display filename shown in the Name column. */ name: string; /** Document type label, e.g. "Bank Statement" or "Property Report". */ type: string; /** ISO date string or pre-formatted date label. */ updatedDate: string; /** When true, download / delete action buttons are shown for this row. */ hasDownload: boolean; /** * Whether the underlying PDF data is ready to view/download. * `false` or `undefined` → action buttons are shown but disabled. * `true` → clicking the name triggers `onView`; action buttons are enabled. */ statementReady?: boolean; } interface BankStatementDocumentTableProps { /** Section heading rendered above the table (e.g. "Main Applicant"). */ title: string; documents: BankStatementDocument[]; /** IDs of currently selected rows. */ selectedIds: string[]; /** Toggle a single row's selection. */ onToggle: (id: string) => void; /** Toggle all rows (select all / deselect all). */ onToggleAll: () => void; /** Bulk download — only enabled when `selectedIds.length > 0`. */ onDownloadAll: () => void; /** Open the PDF viewer for this document (requires `statementReady`). */ onView: (doc: BankStatementDocument) => void; /** Download a single document (requires `statementReady`). */ onDownload: (doc: BankStatementDocument) => void; /** Open the delete confirmation for a document (requires `statementReady`). */ onDelete: (doc: BankStatementDocument) => void; /** Show a loading row instead of documents. */ isLoading?: boolean; /** Disable delete buttons while a deletion is in flight. */ isDeleting?: boolean; className?: string; } declare function BankStatementDocumentTable({ title, documents, selectedIds, onToggle, onToggleAll, onDownloadAll, onView, onDownload, onDelete, isLoading, isDeleting, className, }: BankStatementDocumentTableProps): react_jsx_runtime.JSX.Element; export { type BankStatementDocument, BankStatementDocumentTable, type BankStatementDocumentTableProps };