import { type Command } from "commander"; import type { EmitContext } from "../commander.js"; interface AdmissionSuperviseOpts { jobDir: string; timeout?: string; } /** * Root for durable detached job records. A sibling of the admission queue root * rather than a child of it, so job directories are never mistaken for * admission resources by anything listing that directory. */ export declare function jobsBaseDir(): string; export declare function registerAdmissionCommand(program: Command, emit: EmitContext): void; /** * Own one job record end to end: queue for the slot, run the command with its * output on disk, then write the terminal record. Exported for tests, which * drive it in-process against a temporary job directory. */ export declare function superviseJob(emit: EmitContext, opts: AdmissionSuperviseOpts): Promise; export {}; //# sourceMappingURL=admission.d.ts.map