/** * Small shared helpers for the scheduler module. */ /** Format minutes as a SLURM walltime string (`D-HH:MM:SS` or `HH:MM:SS`). */ export declare function formatWalltime(minutes: number): string; /** POSIX single-quote a string so it is safe to embed in a shell script. */ export declare function shellQuote(s: string): string; /** * Compress a job log's tail into a one-line failure reason: the last few * non-empty lines (the error is at the end), capped so a pathological log * can't flood the UI. Null when there is nothing to say. */ export declare function summarizeLogTail(content: string): string | null;