import { es, IScope, THandler, TValueInstructions } from "./types"; declare type THandlerMap = { [k in es.Node["type"]]?: THandler; }; export declare class Compiler { protected stackName?: string; protected usingStack: boolean; protected handlers: THandlerMap; constructor(stackName?: string); compile(script: string): string; protected resolve(valueInst: TValueInstructions): void; protected serialize(resLines: TValueInstructions): string; protected parse(script: string): import("esprima").Program; handle(scope: IScope, node: es.Node): TValueInstructions; handleEval(scope: IScope, node: es.Node): TValueInstructions; handleMany(scope: IScope, nodes: es.Node[], handler?: typeof Compiler.prototype.handle): TValueInstructions; } export {};