export declare const HARNESS_FILE_PRESETS: { readonly 'judge.ts': 'stdioJudgePreset'; readonly 'debug.ts': 'stdioDebugPreset'; }; export type HarnessFileName = keyof typeof HARNESS_FILE_PRESETS; /** * Find harness files (`judge.ts` / `debug.ts`) in a problem directory whose content is identical to * the default stdio harness. Such files must not be committed: a problem without `judge.ts` is * judged with `stdioJudgePreset` (and debugged with `stdioDebugPreset`) automatically, and * committed copies would drift from the server's defaults. */ export declare function findDefaultStdioHarnessFiles(problemDir: string): Promise; /** * Whether the source consists only of importing the given stdio preset from this package (or its * legacy `judge-utils` name) and awaiting it, i.e. it is semantically identical to the default * harness the server generates. Comments count as a difference on purpose: a harness kept for * demonstration can add an explanatory comment to be treated as custom. */ export declare function isDefaultStdioHarnessSource(source: string, presetName: string): boolean;