/** * The experiments view's inline create/edit form: a card under the toolbar * with the name (required), the status select, the metrics key/value row * editor (dynamic rows, values that fully parse as numbers are stored as * numbers — see `experiment-form.ts`), an optional linked-server select, * and save/cancel. Saving goes through the `saveExperiment` verb; the * controller patches the loaded slice and toasts, the form only surfaces a * rejection and closes on success. * @module dsh-client-ui-mimir/client/ExperimentForm */ import type { ExperimentInput, ExperimentRecord } from 'dsh-mimir/types'; import type { ResearchFailureView, ResearchServersView } from './controller.ts'; import type { ResearchT } from './view-common.ts'; /** * @param props - the owning project, the record being edited (null = * create), the servers slice (the link select's options), the save verb, * the close callback, and copy. * @returns the form card. */ export declare function ExperimentForm({ projectId, editing, servers, saveExperiment, onClose, t }: { readonly projectId: string; readonly editing: ExperimentRecord | null; readonly servers: ResearchServersView; readonly saveExperiment: (experiment: ExperimentInput) => Promise; readonly onClose: () => void; readonly t: ResearchT; }): import("react").JSX.Element; //# sourceMappingURL=ExperimentForm.d.ts.map