UNPKG

polyv-live-cli

Version:

CLI tool for managing PolyV live streaming services.

35 lines 868 B
import { EventEmitter } from 'events'; export interface TooltipConfig { content: string; x: number; y: number; maxWidth?: number; autoHideDelay?: number; followMouse?: boolean; style?: { fg?: string; bg?: string; border?: { fg?: string; bg?: string; }; }; } export declare class Tooltip { private screen; private eventBus; private tooltipBox; private isVisible; private hideTimeout; private currentConfig?; constructor(screen: any, eventBus: EventEmitter); show(config: TooltipConfig): void; hide(): void; updatePosition(x: number, y: number): void; isTooltipVisible(): boolean; private createTooltipBox; private calculatePosition; private calculateContentHeight; destroy(): void; } //# sourceMappingURL=tooltip.d.ts.map