import { default as React } from 'react'; /** A product registered as "installed" by the SetupWizard flow (#142). */ export interface InstalledProduct { /** Registry key / stable id */ id: string; /** i18n key for display name */ nameKey: string; /** XPIcon name */ icon?: string; /** Publisher */ publisher?: string; /** Version string */ version?: string; /** ISO 8601 install date */ installedAt: string; /** Filesystem path where it was installed */ installPath: string[]; /** Start menu entry info */ startMenu?: { nameKey: string; app: string; }; /** Whether a desktop shortcut was created */ hasDesktopShortcut: boolean; /** The original SetupWizard spec for uninstall */ installedFiles: string[]; } interface InstalledAppsApi { /** All currently installed products */ products: InstalledProduct[]; /** Register a newly installed product */ install: (product: InstalledProduct) => void; /** Uninstall by id — removes the product from the registry */ uninstall: (id: string) => void; /** Check if a product is installed */ isInstalled: (id: string) => boolean; } export declare const InstalledAppsProvider: React.FC<{ children: React.ReactNode; }>; export declare const useInstalledApps: () => InstalledAppsApi; export {};