/** * The experiments view: the selected project's experiment-run table (status * pill, expandable metrics, the linked-server badge with an inline relink * dropdown, edit/delete actions) topped by the inline create/edit form * (`ExperimentForm.tsx`, opened from the toolbar's new-experiment button or * a row's edit) and a metric-comparison section — one * hand-drawn inline SVG bar chart per numeric metric key shared by at least * two runs — above the whitelisted `EXPERIMENT_LOG.md` artifact, rendered by * the restricted Markdown renderer in `MarkdownView.tsx` (dependency-free). * @module dsh-client-ui-mimir/client/ExperimentsView */ import type { ExperimentInput, ExperimentRecord, MetricDirection } from 'dsh-mimir/types'; import type { ResearchArtifactView, ResearchFailureView, ResearchProjectSlice, ResearchServersView } from './controller.ts'; import { type MetricChartRow, type ResearchT } from './view-common.ts'; /** * @param props - the experiments slice, the artifact view, the servers slice * (the relink dropdown's options), the selected project id, the verbs, and * copy. * @returns the metric charts, the experiment table, and the log viewer. */ export declare function ExperimentsView({ experiments, artifact, servers, projectId, ensureServers, deleteExperiment, updateExperiment, saveExperiment, generateMetricFigure, retry, t, }: { readonly experiments: ResearchProjectSlice | null; readonly artifact: ResearchArtifactView | null; readonly servers: ResearchServersView; readonly projectId: string | null; readonly ensureServers: () => void; readonly deleteExperiment: (id: string) => Promise; readonly updateExperiment: (id: string, serverId: string | null) => Promise; readonly saveExperiment: (experiment: ExperimentInput) => Promise; /** The per-chart "generate paper figure" button (failures ride toasts). */ readonly generateMetricFigure: (metricKey: string, rows: readonly MetricChartRow[], direction: MetricDirection) => Promise; /** Reload the slice after a load failure (re-selects the current project). */ readonly retry: () => void; readonly t: ResearchT; }): import("react").JSX.Element; //# sourceMappingURL=ExperimentsView.d.ts.map