import { Compiler as TsCompiler } from '@adonisjs/require-ts/build/src/Compiler';
/**
 * Exposes the API to compile the user land code to be executed
 * inside Node.JS REPL.
 */
export declare class Compiler {
    private tsCompiler?;
    compilesTs: boolean;
    constructor(tsCompiler?: TsCompiler | undefined);
    /**
     * Process the await keywords in the code
     */
    private processAwait;
    /**
     * Compiles code using typescript
     */
    private compileTypescript;
    /**
     * Compiles the code to be executed in the Node.js REPL. Under
     * the hood
     *
     * - Typescript code is compiled
     * - Await keywords are wrapped in async IIFE
     */
    compile(statement: string, filename: string): Promise<{
        compiled: string;
        awaitPromise: boolean;
    }>;
}
