/** * The servers view's remote-jobs section: a submit form (server select, * command input, and an optional experiment link from the selected project's * loaded experiments) above the job table — status pill, command, linked * server, submit time, expandable stdout/stderr tails, delete. While any job * is queued/running the section polls the Host every * {@link JOB_POLL_INTERVAL_MS}; a terminal flip observed between polls * surfaces as a toast (controller-side). * @module dsh-client-ui-mimir/client/JobsSection */ import type { ExperimentRecord } from 'dsh-mimir/types'; import type { ResearchFailureView, ResearchJobsView, ResearchProjectSlice, ResearchServersView } from './controller.ts'; import { type ResearchT } from './view-common.ts'; /** * @param props - the jobs slice, the servers slice (submit options and row * names), the selected project's experiments slice (the link options), the * ensure/poll/submit/delete verbs, and copy. * @returns the submit form card plus the job table. */ export declare function JobsSection({ jobs, servers, experiments, ensureJobs, refreshJobs, submitJob, deleteJob, t, }: { readonly jobs: ResearchJobsView; readonly servers: ResearchServersView; readonly experiments: ResearchProjectSlice | null; readonly ensureJobs: () => void; readonly refreshJobs: () => void; readonly submitJob: (serverId: string, command: string, experimentId?: string) => Promise; readonly deleteJob: (id: string) => Promise; readonly t: ResearchT; }): import("react").JSX.Element; //# sourceMappingURL=JobsSection.d.ts.map