/** * The overview view: the selected project's card — title, the five-stage * pipeline progress (idea→plan→experiment→writing→done), review-round count, * paper directory, artifact list, and the last-updated timestamp — preceded * by the stat chips (papers/experiments/figures counts gathered from the * other views), followed by the recent-activity card (the five latest remote * jobs and the five latest experiment runs of the project), the growth-record * entry link (the ledger tab), and the data section (scheduled-backup * status, wiki export/import). * @module dsh-client-ui-mimir/client/OverviewView */ import type { ResearchBackupStatusView, ResearchImportWikiMode, ResearchProjectView, ResearchScheduledTaskView, ResearchWikiSnapshot } from 'dsh-mimir/types'; import type { ResearchFailureView, ResearchJobsView, ResearchProjectSlice } from './controller.ts'; import type { ExperimentRecord } from 'dsh-mimir/types'; import type { ResearchT } from './view-common.ts'; /** The overview's stat chips; null marks a view not yet loaded. */ export interface OverviewStats { readonly papers: number | null; readonly experiments: number | null; readonly figures: number | null; readonly servers: number | null; /** Catalog deadlines landing within 30 days; null until the venues slice loads. */ readonly venues: number | null; } /** * @param props - the selected project row (undefined before selection), the * stat-chip counts gathered from the other views, the remote-jobs slice and * the project's experiments slice (the recent-activity card), the wiki * export/import verbs, and copy. * @returns the overview card, or the no-selection hint. */ export declare function OverviewView({ project, stats, backup, taskHealth, jobs, experiments, openLedger, exportWiki, importWiki, t }: { readonly project: ResearchProjectView | undefined; readonly stats: OverviewStats; /** Scheduled-backup status line; null hides it (not loaded yet). */ readonly backup: ResearchBackupStatusView | null; /** Scheduled-task health snapshot (#223); null hides the block. */ readonly taskHealth: readonly ResearchScheduledTaskView[] | null; /** Every submitted remote job, most recent first (the activity card's jobs column). */ readonly jobs: ResearchJobsView; /** The selected project's experiments slice (the activity card's experiments column). */ readonly experiments: ResearchProjectSlice | null; /** Switch the workbench to the ledger (growth record) tab. */ readonly openLedger: () => void; readonly exportWiki: () => Promise; readonly importWiki: (snapshot: unknown, mode: ResearchImportWikiMode, confirmReplace: boolean) => Promise<{ imported: Record; skipped: Record; } | ResearchFailureView>; readonly t: ResearchT; }): import("react").JSX.Element; //# sourceMappingURL=OverviewView.d.ts.map