import { Callback, Dispatch, IObserverHandle, Message } from "@hpcc-js/util"; import { OJSModule } from "./ojsModule"; import { IObserver, OJSVariable, VariableValue } from "./ojsVariable"; import { OJSSyntaxError, OJSVariableMessageType } from "./util"; export declare class OJSRuntimeNotification extends Message implements VariableValue { variable: OJSVariable; type: OJSVariableMessageType; value: any; constructor(variable: OJSVariable, type: OJSVariableMessageType, value: any); get canConflate(): boolean; conflate(other: OJSRuntimeNotification): boolean; } export declare class OJSRuntime { readonly _runtime: any; protected _main: OJSModule; private _container; protected _dispatcher: Dispatch; constructor(container?: string | HTMLElement, plugins?: object); watch(callback: Callback): IObserverHandle; _inspector(): IObserver | undefined; module(modDefine: any): any; private _watches; parse(id: string, ojs: string, folder: string): Promise; checkSyntax(id: string, ojs: string, folder: string): Promise; evaluate(id: string, ojs: string, folder: string): Promise; protected variableValue(variable: OJSVariable, type: OJSVariableMessageType, value: any): VariableValue; refresh(): Promise; latest(): VariableValue[]; pull(url: string): Promise; push(url: string, ojs: string): boolean; } //# sourceMappingURL=ojsRuntime.d.ts.map