import { LitElement } from "lit"; import { Ref } from "lit/directives/ref.js"; import { Runtime, RuntimeMethods, Syntax, RunResult } from "../types"; import { EditorElement } from "./editor"; import { ControlsElement } from "./controls"; import { TerminalElement } from "./terminal"; import { WASIFS } from "@runno/wasi"; export declare class RunElement extends LitElement implements RuntimeMethods { static styles: import("lit").CSSResult; runtime: Runtime; syntax?: Syntax; code?: string; fsURL?: string; editor: boolean; controls: boolean; autorun: boolean; fs: WASIFS; editorRef: Ref; controlsRef: Ref; terminalRef: Ref; private _running; private _provider; get running(): boolean; run(): Promise; stop(): void; setProgram(syntax: Syntax, runtime: Runtime, code: string): void; showControls(): void; hideControls(): void; showEditor(): void; hideEditor(): void; setEditorProgram(syntax: Syntax, runtime: Runtime, code: string): void; getEditorProgram(): Promise; interactiveRunCode(runtime: Runtime, code: string): Promise; interactiveRunFS(runtime: Runtime, entryPath: string, fs: WASIFS): Promise; interactiveStop(): void; headlessRunCode(runtime: Runtime, code: string, stdin?: string): Promise; headlessRunFS(runtime: Runtime, entryPath: string, fs: WASIFS, stdin?: string): Promise; connectedCallback(): void; firstUpdated(): void; updated(changedProperties: Map): void; render(): import("lit-html").TemplateResult<1>; }