import './polyfills'; import { Contract } from '../core'; import { ILiteral } from '../typings/literal'; interface CompilationResult { micheline: string; json: Record[]; } /** * Compile SmartML expression to a michelson smart-contract. * * @param contract a Contract instance * * @returns {CompilationResult} Compilation result */ export declare const compileContract: (contract: Contract) => CompilationResult & { smartpy: string; }; /** * Compile SmartML expression to michelson. * * @param expression A value expression * * @returns {CompilationResult} Compilation result */ export declare const compileValue: (expression: ILiteral) => CompilationResult; declare const CompilerAPI: { compileContract: (contract: Contract) => CompilationResult & { smartpy: string; }; compileValue: (expression: ILiteral) => CompilationResult; }; export default CompilerAPI;