declare class BallValue { } export type BallCallable = any; export declare class BallEngine { readonly program: Program; readonly _types: Map; readonly _functions: Map; readonly _getters: any; readonly _setters: any; readonly _getters: Map; readonly _setters: Map; readonly _globalScope: _Scope; stdout: any; _currentModule: string; _activeGeneratorScope: _Scope; readonly _paramCache: Map>; readonly _callCache: Map; readonly _typeMethodDispatch: Map; readonly _instanceMethodCache: Map; readonly _topLevelRefs: Map; readonly _staticFieldRefs: Map; readonly _enumValues: Map>; readonly _constructors: Map; _callCounts: Map; readonly maxRecursionDepth: number; readonly timeoutMs: number; readonly maxMemoryBytes: number; readonly maxModules: number; readonly maxExpressionDepth: number; readonly maxProgramSizeBytes: number; readonly sandbox: boolean; _memoryUsedBytes: number; _expressionDepth: number; _executionStartMs: number; _recursionDepth: number; readonly moduleHandlers: Array; readonly _random: math.Random; stderr: any; stdinReader: any; _envGet: any; _args: Array; _nextMutexId: number; _activeException: any; readonly _resolver: ModuleResolver; readonly _initialized: Promise; constructor(program: any, stdout: any, stderr: any, stdinReader: any, envGet: any, args: any, enableProfiling: any, maxRecursionDepth: any, timeoutMs: any, maxMemoryBytes: any, maxModules: any, maxExpressionDepth: any, maxProgramSizeBytes: any, sandbox: any, moduleHandlers: any, resolver: any); _consumeGeneratorFlow(result: any): any; profilingReport(): any; callFunction(module: any, function_: any, input: any): any; _validateProgramLimits(): any; _validateStaticExpressionDepth(): any; _validateExpressionDepth(root: any): any; _checkExpressionDepth(): any; _exitExpression(): any; _buildLookupTables(): any; static _typeMethodKey(typePrefix: any, methodName: any): any; _registerFunctionDispatchTables(module: any, func: any): any; _resolveInstanceMethodDispatch(typeName: any, methodName: any): any; _lookupTypeMethodWithInheritance(typeName: any, methodName: any): any; _initTopLevelVariables(): Promise; run(): Promise; _checkExecutionTimeout(): any; _trackStringAllocation(value: any): any; _trackByteListAllocation(value: any): any; _trackMemoryAllocation(bytes: any): any; _asMap(v: any): any; _callFunction(moduleName: any, func: any, input: any): Promise; _callObjectConstructor(moduleName: any, func: any, input: any): Promise; _applyConstructorInitializers(func: any, targetFields: any, resolvedParams: any, onlyIfAbsent: any): any; _buildConstructorInstance(moduleName: any, func: any, input: any): Promise; _invokeSuperConstructor(childCtor: any, superclass: any, resolvedParams: any): Promise; _lookupConstructor(name: any): any; _parseSuperArgs(argsStr: any): any; _extractParamsMeta(metadata: any): any; _extractParams(metadata: any): any; _rawTypeDefCache: any; _fieldDefaultsCache: any; _findRawTypeDef(typeName: any): any; _getFieldDefaults(typeName: any): any; __buildCtorInstance(moduleName: any, func: any, input: any): Promise; __extractParamsMeta(metadata: any): any[]; _resolveAndCallFunction(module: any, function_: any, input: any): Promise; _tryLazyResolve(moduleName: any): Promise; _indexModule(module: any): any; _asList(v: any): any; static _extractMetadataTypeArgs(msg: any): any; static _typeRefValueToString(v: any): any; _evalExpression(expr: any, scope: any): Promise; _unwrapFuture(value: any): any; _evalCall(call: any, scope: any): Promise; _evalLiteral(lit: any, scope: any): Promise; _evalListLiteral(listVal: any, scope: any): Promise; _evalCollectionIf(call: any, scope: any, result: any): Promise; _evalCollectionFor(call: any, scope: any, result: any): Promise; _addCollectionElement(expr: any, scope: any, result: any): Promise; _spliceSpread(call: any, scope: any, result: any, nullAware: any): Promise; _evalLazyMapCreate(call: any, scope: any): Promise; _addMapEntryExpr(entryExpr: any, scope: any, result: any): Promise; _putMapEntryValue(val: any, result: any): Promise; _addMapCollectionElement(expr: any, scope: any, result: any): Promise; _evalMapCollectionIf(call: any, scope: any, result: any): Promise; _evalMapCollectionFor(call: any, scope: any, result: any): Promise; _spliceMapSpread(call: any, scope: any, result: any, nullAware: any): Promise; _evalReference(ref: any, scope: any): Promise; _evalFieldAccess(access: any, scope: any): Promise; _tryGetterDispatch(object: any, fieldName: any): Promise; _isGetter(func: any): any; _isSetter(func: any): any; _trySetterDispatch(object: any, fieldName: any, value: any): Promise; _writeBackingField(object: any, fieldName: any, assignedValue: any): any; _syncFieldToSelf(scope: any, fieldName: any, val: any): any; _evalMessageCreation(msg: any, scope: any): Promise; _findTypeDef(typeName: any): any; _initFieldDefaults(typeName: any, fields: any): any; _parseInitializer(init: any): any; _getMetaString(typeDef: any, key: any): any; _collectAllFieldNames(typeName: any): any; _buildSuperObject(superclass: any, childFields: any): any; _resolveTypeMethods(typeName: any): any; _resolveTypeMethodsWithInheritance(typeName: any): any; _evalBlock(block: any, scope: any): Promise; _evalStatement(stmt: any, scope: any): Promise; _evalLambda(func: any, scope: any): any; _cfAsMap(v: any): any; _lazyFields(call: any): any; _evalLazyIf(call: any, scope: any): Promise; _evalLazyFor(call: any, scope: any): Promise; _evalForInit(initExpr: any, forScope: any, loopVars: any): Promise; _evalSimpleInitExpr(rawVal: any, scope: any): any; _evalLazyForIn(call: any, scope: any): Promise; _evalLazyWhile(call: any, scope: any): Promise; _evalLazyDoWhile(call: any, scope: any): Promise; _evalLazySwitch(call: any, scope: any): Promise; _evalLazySwitchExpr(call: any, scope: any): Promise; _caseIsDefault(fields: any): any; _scopeWithPatternBindings(parent: any, bindings: any): any; _matchesSwitchCasePattern(subjectVal: any, fields: any, bindings: any, scope: any): Promise; _stringLiteral(expr: any): any; _ballEquals(a: any, b: any): any; _matchSwitchPattern(subject: any, pattern: any): any; _evalLazyTry(call: any, scope: any): Promise; _evalShortCircuitAnd(call: any, scope: any): Promise; _evalShortCircuitOr(call: any, scope: any): Promise; _evalReturn(call: any, scope: any): Promise; _evalBreak(call: any, scope: any): Promise; _evalContinue(call: any, scope: any): Promise; _cfWritebackInstance(objExpr: any, obj: any, map: any, scope: any): any; _cfWritebackIndexed(targetExpr: any, container: any, scope: any): any; _evalAssign(call: any, scope: any): Promise; _evalNullAwareAssign(target: any, value: any, scope: any): Promise; _evalIncDec(call: any, scope: any): Promise; _applyCompoundOp(op: any, current: any, val: any): any; _numOp(a: any, b: any, op: any): any; _intOp(a: any, b: any, op: any): any; _evalLabeled(call: any, scope: any): Promise; _extractLoopFromBody(expr: any): any; _evalLabeledLoop(loopCall: any, label: any, scope: any): Promise; _evalLabeledFor(call: any, label: any, scope: any): Promise; _evalLabeledForIn(call: any, label: any, scope: any): Promise; _evalLabeledWhile(call: any, label: any, scope: any): Promise; _evalLabeledDoWhile(call: any, label: any, scope: any): Promise; _evalGoto(call: any, scope: any): Promise; _gotoSignalLabel(signal: any): any; _evalLabel(call: any, scope: any): Promise; _evalLazyCascade(call: any, scope: any): Promise; _evalAwaitFor(call: any, scope: any): any; _evalYield(call: any, scope: any): Promise; _evalYieldEach(call: any, scope: any): Promise; _dispatchBuiltinInstanceMethod(self: any, method: any, input: any): Promise; _stdAsMap(v: any): any; _stdAsList(v: any): any; _isBallSet(v: any): any; _ballSetItems(v: any): any; _ballSetOf(items: any): any; _tryOperatorOverride(function_: any, input: any): Promise; _dispatchBuiltinClassMethod(className: any, method: any, args: any): Promise; _callBaseFunction(module: any, function_: any, input: any): Promise; _buildStdDispatch(): any; _trackListCopy(list: any): any; _manualReverse(list: any): any; _resolveMethod(typeName: any, methodName: any): any; _getMixins(typeName: any): any; _stdPrint(input: any): Promise; _ballToStringAsync(v: any): Promise; _stdIf(input: any): any; _stdIndex(input: any): any; _stdCascade(input: any): any; _stdNullAwareCascade(input: any): any; _stdListGenerate(input: any): Promise; _stdListFilled(input: any): any; _stdInvoke(input: any): Promise; _stdNullAwareAccess(input: any): any; _stdNullAwareCall(input: any): any; _stdTypeCheck(input: any): any; _typeMatches(value: any, type: any): any; _objectTypeMatches(value: any, type: any): any; _typeNameMatches(objType: any, checkType: any): any; _splitTypeArgs(str: any): any; _stdMapCreate(input: any): Promise; _stdSetCreate(input: any): any; _collectionMisuse(_: any): any; _stdRecord(input: any): any; _stdSwitchExpr(input: any): Promise; _matchPattern(value: any, pattern: any, bindings: any): any; _matchStringPattern(value: any, pattern: any, bindings: any): any; _matchStructuredPattern(value: any, pattern: any, bindings: any): any; _patternKind(pattern: any): any; _patternFields(fields: any): any; _matchRelationalPattern(value: any, operator: any, operand: any): any; _matchesObjectType(value: any, patternType: any): any; _ballToStringSimple(v: any): any; _matchesTypePattern(value: any, pattern: any): any; _stdAssert(input: any): any; _stdAdd(input: any): any; _repeatString(s: any, count: any): any; _stdBinary(input: any, op: any): any; _stdBinaryInt(input: any, op: any): any; _stdBinaryDouble(input: any, op: any): any; _stdBinaryComp(input: any, op: any): any; _stdBinaryBool(input: any, op: any): any; _stdBinaryAny(input: any, op: any): any; _stdUnaryNum(input: any, op: any): any; _stdNot(input: any): any; _stdConcat(input: any): any; _stdLength(input: any): any; _stdConvert(input: any, converter: any): any; _extractBinaryArgs(input: any): any; _extractUnaryArg(input: any): any; _extractField(input: any, name: any): any; _stringFieldVal(fields: any, name: any): any; _toInt(v: any): any; _toDouble(v: any): any; _toNum(v: any): any; _toIterable(v: any): any; _toBool(v: any): any; _stdStringSubstring(input: any): any; _stdStringCharAt(input: any): any; _stdStringCharCodeAt(input: any): any; _stdStringReplace(input: any, all: any): any; _stdRegexReplace(input: any, all: any): any; _stdStringRepeat(input: any): any; _stdStringPad(input: any, left: any): any; _stdMathUnary(input: any, op: any): any; _stdMathBinary(input: any, op: any): any; _stdMathClamp(input: any): any; _jsonEncode(value: any): any; _jsonDecode(text: any): any; _toJsonSafe(v: any): any; _utf8Encode(s: any): any; _utf8Decode(bytes: any): any; _base64Encode(bytes: any): any; _base64Decode(s: any): any; _checkSandbox(op: any): any; _stdFileRead(input: any): any; _stdFileReadBytes(input: any): any; _stdFileWrite(input: any): any; _stdFileWriteBytes(input: any): any; _stdFileAppend(input: any): any; _stdFileExists(input: any): any; _stdFileDelete(input: any): any; _stdDirList(input: any): any; _stdDirCreate(input: any): any; _stdDirExists(input: any): any; } export declare class _FlowSignal extends BallValue { readonly kind: string; readonly label: string; readonly value: any; constructor(kind: any, label: any, value: any); } export declare class _Scope { readonly _bindings: Map; readonly _parent: _Scope; constructor(_parent: any); lookup(name: any): any; bind(name: any, value: any): any; has(name: any): any; set(name: any, value: any): any; child(): any; } export declare class BallRuntimeError { readonly message: string; constructor(message: any); toString(): any; } export declare class BallGenerator extends BallValue { readonly values: Array; completed: boolean; yield_(value: any): any; yieldAll(items: any): any; toString(): any; } export declare class BallException extends BallValue { readonly typeName: string; readonly value: any; constructor(typeName: any, value: any); toString(): any; } export declare class _ExitSignal extends BallValue { readonly code: number; constructor(code: any); } export declare abstract class BallModuleHandler { handles(module: any): any; call(function_: any, input: any, engine: any): any; init(engine: any): any; } export declare class StdModuleHandler extends BallModuleHandler { readonly _dispatch: any; readonly _composedDispatch: any; readonly _allowlist: Array; readonly _tombstones: Array; constructor(); get registeredFunctions(): any; static subset(functions: any): any; handles(module: any): any; init(engine: any): any; register(function_: any, handler: any): any; registerComposer(function_: any, handler: any): any; unregister(function_: any): any; call(function_: any, input: any, engine: any): any; } export {}; //# sourceMappingURL=compiled_engine.d.ts.map