import { z } from "zod"; /** * Which button clicked an icon: StatusNotifierItem's `Activate`, * `SecondaryActivate` and `ContextMenu`. Matches the engine's * `DomicileTrayAction`. */ export declare const trayActionSchema: z.ZodEnum<{ context: "context"; primary: "primary"; secondary: "secondary"; }>; /** Which button clicked a tray icon. */ export type TrayAction = z.infer; /** One icon in the tray. */ export type TrayItem = { /** * The id for `DomicileHost.activateTrayItem`. Stable across * application restarts. */ id: string; /** A non-empty label. */ title: string; /** The icon as a `data:` URL, or `undefined` if it could not be rendered. */ icon: string | undefined; /** The bus name the application answers on. */ bus: string; /** * The object path of its `com.canonical.dbusmenu` menu on `bus`, or * `undefined` for none. */ menu: string | undefined; /** Whether it only has a menu, which the primary button opens. */ itemIsMenu: boolean; };