///
import * as Blockly from "blockly";
import { BlockCompilationResult, BlockCompileOptions, Environment } from "./environment";
export declare const PXT_WARNING_ID = "WARNING_MESSAGE";
export declare function compileBlockAsync(b: Blockly.Block, blockInfo: pxtc.BlocksInfo): Promise;
export declare function compileAsync(b: Blockly.Workspace, blockInfo: pxtc.BlocksInfo, opts?: BlockCompileOptions): Promise;
export declare function callKey(e: Environment, b: Blockly.Block): string;
export declare const AUTO_DISABLED_REASON = "pxt_automatic_disabled";
export declare function compileExpression(e: Environment, b: Blockly.Block, comments: string[]): pxt.blocks.JsNode;
export declare function workerOpAsync(op: string, arg: pxtc.service.OpArg): Promise;