export interface DisplayVariable { name: string; label: string; tooltip?: string; } export interface DisplayFieldConstructor { root: HTMLElement; context: DisplayVariable[]; title?: string; id?: string; } /** * Shows the value of variables in a draggable pane. */ export default class DisplayField { context: DisplayVariable[]; private refs; constructor(opts: DisplayFieldConstructor); update(name: string, value: string | number | boolean): void; private initDisplay; }