UNPKG

@intuitionrobotics/thunderstorm

Version:
16 lines (15 loc) 790 B
import { ThunderDispatcher } from "./thunder-dispatcher"; import { OnRequestListener } from "../../shared/request-types"; import { ModuleManager } from "@intuitionrobotics/ts-common/core/module-manager"; export declare class AbstractThunder extends ModuleManager { protected listeners: any[]; constructor(); static getInstance(): AbstractThunder; init(): this; setRenderApp(renderApp: () => void): this; protected addUIListener(listener: any): void; protected removeUIListener(listener: any): void; build(onStarted?: () => void): void; protected renderApp: () => void; } export declare const dispatch_requestCompleted: ThunderDispatcher<OnRequestListener, "__onRequestCompleted", [key: string, success: boolean, requestData?: string | undefined], void>;