/** * Download Summary Dialog * * Shows a summary after batch plugin downloads complete. * Lists downloaded, failed, and manual-download plugins. * * @since v2.4.26 */ import type React from 'react'; import type { Theme } from '../../themes/types.js'; export interface DownloadSummaryItem { name: string; version: string; } export interface DownloadSummaryFailure { name: string; error: string; } export interface DownloadSummaryManual { name: string; version: string; sourceUrl?: string; } export interface DownloadSummaryData { downloaded: DownloadSummaryItem[]; /** * Phase 4 safe-apply: validated downloads staged into the server's update * folder because the server was running — they apply on the next restart. * Optional for older callers that predate staging. */ staged?: DownloadSummaryItem[]; failed: DownloadSummaryFailure[]; manual: DownloadSummaryManual[]; } export interface DownloadSummaryDialogProps { data: DownloadSummaryData; onDismiss: () => void; onExportManual?: () => void; theme: Theme; } export declare function DownloadSummaryDialog({ data, onDismiss, onExportManual, theme }: DownloadSummaryDialogProps): React.ReactElement; //# sourceMappingURL=DownloadSummaryDialog.d.ts.map