/// <reference types="node" />
import { spawnSync } from 'node:child_process';
import { Command } from 'commander';
import type { CompileResult } from '../compiler';
export interface CompileOptions {
    output?: string;
    target?: 'es5' | 'es2015' | 'es2020' | 'esnext';
    sourceMap?: boolean;
    noSourceMap?: boolean;
    minify?: boolean;
    noMinify?: boolean;
    noTypeCheck?: boolean;
    strict?: boolean;
    outDir?: string;
    watch?: boolean;
    compileOnSave?: boolean;
    production?: boolean;
}
export declare function compileFile(input: string, options: CompileOptions): CompileResult;
interface ExecuteOptions {
    cwd?: string;
}
export declare const cliRuntime: {
    executeCompiledFile(filePath: string, forwardedArgv?: string[], options?: ExecuteOptions): ReturnType<typeof spawnSync>;
};
export declare function createProgram(): Command;
export {};
//# sourceMappingURL=program.d.ts.map