export declare class CompilerContext { readonly context: Map; protected constVariables: Map; maxReservedVariable: number; protected reservedNames: Set; protected variableContext: { [name: string]: any; }; /** * Code that is executed in the context, but before the actual function is generated. * This helps for example to initialize dynamically some context variables. */ preCode: string; initialiseVariables: string[]; config: { indent: boolean; }; constructor(config?: Partial); reserveName(name: string): string; set(values: { [name: string]: any; }): void; /** * Returns always the same variable name for the same value. * The variable name should not be set afterwards. */ reserveConst(value: any, name?: string): string; reserveVariable(name?: string, value?: any): string; raw(functionCode: string): Function; protected format(code: string): string; build(functionCode: string, ...args: string[]): any; buildAsync(functionCode: string, ...args: string[]): Function; }