import type { MonitorId } from "./MonitorId.js"; import type { ProcessInformation } from "./ProcessInformation.js"; import type { Rect } from "./Rect.js"; import type { Relaunch } from "./Relaunch.js"; export type UserAppWindow = { hwnd: number; monitor: MonitorId; title: string; appName: string; isZoomed: boolean; isIconic: boolean; isFullscreen: boolean; /** * this can be from the window property store, or inherited from the process */ umid: string | null; /** * if the window is a frame, this information will be mapped to the process creator */ process: ProcessInformation; /** * this app window can not be pinned */ preventPinning: boolean; /** * custom method to create start this application */ relaunch: Relaunch | null; /** * rect of the window without shadow, in screen coordinates */ rect: Rect | null; /** * unix timestamp (ms) of the last time this window was brought to the foreground; * 0 means it has never been focused since tracking started. * clients that want z-order-like sorting should sort descending by this field. */ lastForegroundAt: number; }; //# sourceMappingURL=UserAppWindow.d.ts.map