import { NormalizedSubtask } from '@hydrooj/utils/lib/utils'; import { JudgeResultBody, ProblemConfigFile } from 'hydrooj'; import { CopyInFile } from './sandbox'; export interface Execute { execute: string; clean: () => Promise; copyIn: Record; } export type NextFunction = (body: Partial) => Promise | void; export interface ParsedConfig extends Omit { count: number; time: number; memory: number; subtasks: NormalizedSubtask[]; }