UNPKG

vision-embedded-web

Version:
11 lines (10 loc) 548 B
import { CubicPlayerEvent, ICubicPlayer } from './types/cubic-player'; import { CubicPlayerActionType, CubicPlayerActionData, CubicPlayerActionResult } from './types/actions'; export default class VisionController { private readonly moduleName; constructor(moduleName: string); invoke<TypeT extends CubicPlayerActionType>(data: CubicPlayerActionData<TypeT>): Promise<CubicPlayerActionResult<TypeT>>; emit(event: CubicPlayerEvent): void; getPlayer(): ICubicPlayer | null; printNotFound(entityName: string): void; }