export interface LanguageDefinition { /** File extensions to judge with this config. */ fileExtensions: readonly string[]; /** Function executed before the build. */ prebuild?(cwd: string): Promise; /** Returns the command to build a user program. */ buildCommand?(filePath: string): [string, ...string[]]; /** Returns the command to run a user program. */ command(filePath: string): [string, ...string[]]; /** Grammer definition for static analysis. */ grammer?: { strings?: readonly { open: RegExp; close: RegExp; templateSyntax?: 'kotlin'; }[]; comments?: readonly { open: RegExp; close?: RegExp; }[]; }; } export declare const languageIdToDefinition: Readonly>>;