/** * Popup/Dialog support - extends IMGUIContext */ export function setupPopupSystem(ctx: any): void; /** * Popup - non-modal floating window * Draws on top of everything but doesn't block input */ export function popup(ctx: any, idStr: any, x: any, y: any, w: any, h: any, title: any, contentFn: any): void; /** * Modal dialog - blocks interaction with everything underneath * Returns true if dialog should stay open */ export function modal(ctx: any, idStr: any, x: any, y: any, w: any, h: any, title: any, contentFn: any): boolean; /** * Simple message box - modal with OK button * Returns true if still open, false if closed */ export function messageBox(ctx: any, idStr: any, message: any, onClose: any): boolean; /** * Confirm dialog - modal with Yes/No buttons * Calls callback(true) for Yes, callback(false) for No */ export function confirmBox(ctx: any, idStr: any, message: any, callback: any): boolean; /** * Tooltip - shows on hover, non-blocking */ export function tooltip(ctx: any, text: any, x: any, y: any): void; /** * Context menu - right-click menu */ export function contextMenu(ctx: any, idStr: any, x: any, y: any, items: any, onSelect: any): boolean; /** * Draggable window - popup that can be moved */ export class DraggableWindow { constructor(id: any, title: any, x: any, y: any, w: any, h: any); id: any; title: any; x: any; y: any; w: any; h: any; dragging: boolean; dragOffsetX: number; dragOffsetY: number; draw(ctx: any, contentFn: any): void; }