import { TransCompiler } from "./index"; import { Context } from "./modules"; export declare const newPuppyCompiler: () => TransCompiler; export declare const evaluate: (source: string) => any; export declare const main: (args: string[]) => void; declare type JudgeData = { name: string; timeOut?: number; input: any[]; output: any; elapsed: number; status: string; result: any; }; export declare class OnlineJudge { tc: TransCompiler; constructor(); createContext(source: string): Context; judged: (cx: any, d: JudgeData) => void; judge(cx: any, d: JudgeData): false | undefined; } export declare const testJudge: () => void; export {};