import type { HubView, LinkError, ParsedHubLink } from "./deep-link"; export declare const CH: { readonly snapshot: "hub:snapshot"; readonly setView: "hub:set-view"; readonly openLink: "hub:open-link"; readonly notify: "hub:notify"; readonly setAutostart: "hub:set-autostart"; readonly hide: "hub:hide"; readonly show: "hub:show"; readonly closeToTray: "hub:close-to-tray"; readonly quit: "hub:quit"; readonly refresh: "hub:refresh"; }; export type LinkSource = "manual" | "second-instance" | "open-url"; export type LastLink = { raw: string; ok: boolean; view: HubView | null; id: string | null; reason: LinkError | ""; source: LinkSource; at: number; }; export type ActivityRow = { at: number; kind: string; detail: string; }; export type Integration = { trayCreated: boolean; trayMenuItems: number; shortcutAccelerator: string; shortcutRegistered: boolean; notificationSupported: boolean; singleInstance: boolean; protocolRegistered: boolean; packaged: boolean; openAtLogin: boolean; autostartStatus: string; lastNotification: string; }; export type TrayMenuItemView = { id: string; label: string; type: "normal" | "checkbox"; checked: boolean; enabled: boolean; }; export type Snapshot = { platform: string; electronVersion: string; activeView: HubView; counts: Record; lastLink: LastLink | null; activity: ActivityRow[]; integration: Integration; trayMenu: TrayMenuItemView[]; window: { visible: boolean; focused: boolean; bounds: { x: number; y: number; width: number; height: number; }; }; }; export declare function assertViewReq(value: unknown): asserts value is { view: HubView; }; export declare function assertLinkReq(value: unknown): asserts value is { url: string; source: LinkSource; }; export declare function assertNotifyReq(value: unknown): asserts value is { title: string; body: string; }; export declare function assertAutostartReq(value: unknown): asserts value is { enabled: boolean; dryRun: boolean; }; export type { ParsedHubLink }; //# sourceMappingURL=ipc.d.ts.map