import { W as WindowManager, M as ManagerOptions, a as ManagerState, b as WindowState } from './types-DdCtDHgt.cjs'; import { D as DesktopBinder, b as DesktopController, a as DesktopOptions, W as WindowAttachOptions } from './binder-Dq_AZRbo.cjs'; type ElementRef = (node: HTMLElement | null) => void; declare function useWindowManager(options?: ManagerOptions): WindowManager; declare function useWmState(wm: WindowManager): ManagerState; declare function useWmWindow(wm: WindowManager, id: string): WindowState | undefined; interface UseDesktopResult { ref: ElementRef; binder: DesktopBinder; controller(): DesktopController | null; } declare function useDesktop(wm: WindowManager, options?: DesktopOptions): UseDesktopResult; declare function useWmWindowRef(binder: DesktopBinder, id: string, options?: WindowAttachOptions): ElementRef; export { type ElementRef, type UseDesktopResult, useDesktop, useWindowManager, useWmState, useWmWindow, useWmWindowRef };