/** * MockScheduler — a fake batch scheduler for demos and tests, with no real * cluster behind it. Enabled with `NEBULA_SCHEDULER=mock`. * * It implements the full `Scheduler` interface with fabricated (but plausibly * shaped) partition / QoS / load data, so the real compute UI — allocation modal, * cluster-load panel, server list — renders exactly as it would against a live * cluster. The names here are generic on purpose (no real site's queues, hosts, * accounts, or GPU SKUs) so nothing site-specific leaks into screenshots or the repo. * * `submit()` runs the *real* rendered client-launch script locally (via `bash`) * instead of `sbatch`, so the allocation still registers, flips to an online * server, and runs real kernels — the only thing faked is the scheduler itself. */ import type { Scheduler, Associations, QueueLoad, JobStatus, StartEstimate } from './types'; export declare class MockScheduler implements Scheduler { readonly name = "mock"; private jobs; private nextJobId; detect(): Promise; associations(_user: string): Promise; load(): Promise; allowedQos(partition: string): Promise; partitionArch(_partition: string): Promise; estimateStart(): Promise; submit(scriptPath: string): Promise<{ jobId: string; }>; query(jobId: string): Promise; cancel(jobId: string): Promise; }