import type { SysTrayIconId } from "./SysTrayIconId.js"; export type SysTrayIcon = { /** * Identifier for the icon. Will not change for the lifetime of the * icon. * * The Windows shell uses either a (window handle + uid) or its guid * to identify which icon to operate on. * * Read more: https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-notifyicondataw */ stable_id: SysTrayIconId; /** * Application-defined identifier for the icon, used in combination * with the window handle. * * The uid only has to be unique for the window handle. Multiple * icons (across different window handles) can have the same uid. */ uid: number | null; /** * Handle to the window that contains the icon. Used in combination * with a uid. * * Note that multiple icons can have the same window handle. */ window_handle: number | null; /** * GUID for the icon. * * Used as an alternate way to identify the icon (versus its window * handle and uid). */ guid: string | null; /** * Tooltip to show for the icon on hover. */ tooltip: string; /** * Handle to the icon bitmap. */ icon_handle: number | null; /** * Path to the icon image file. */ icon_path: string | null; /** * Hash of the icon image. * * Used to determine if the icon image has changed without having to * compare the entire image. */ icon_image_hash: string | null; /** * Application-defined message identifier. * * Used to send messages to the window that contains the icon. */ callback_message: number | null; /** * Version of the icon. */ version: number | null; /** * Whether the icon is visible in the system tray. * * This is determined by the `NIS_HIDDEN` flag in the icon's state. */ is_visible: boolean; }; //# sourceMappingURL=SysTrayIcon.d.ts.map