/** * A preset judge function using stdin and stdout as test cases. * * A standard stdio problem must NOT commit a `judge.ts` that only calls this preset: the Exercode * server applies this preset automatically when `judge.ts` is absent, and committed copies would * drift from the server's defaults. * * @example * Run in a problem directory without `judge.ts`: * ```bash * bun x exercode-problem judge model_answers/java * ``` * * Run with the optional parameters: * ```bash * bun x exercode-problem judge model_answers/java '{ "language": "javascript" }' * ``` */ export declare function stdioJudgePreset(problemDir: string): Promise; /** * A preset debug function using stdin and stdout as test cases. * * A standard stdio problem must NOT commit a `debug.ts` that only calls this preset: the Exercode * server applies this preset automatically when `debug.ts` is absent, and committed copies would * drift from the server's defaults. * * @example * Run in a problem directory without `debug.ts`: * ```bash * bun x exercode-problem debug model_answers/java '{ "stdin": "1 2" }' * ``` */ export declare function stdioDebugPreset(problemDir: string): Promise;