import type { DesktopBridge, DesktopUpdateState } from "@opengeni/sdk/desktop-bridge"; /** The app's update state; always "none" outside a desktop app that updates itself. */ export declare function useDesktopUpdate(bridge: DesktopBridge | null): { state: DesktopUpdateState; install: () => void; }; /** What the button says for a found update. */ export declare function desktopUpdateLabel(state: Exclude): { text: string; busy: boolean; }; export declare function DesktopUpdateButton(props: { collapsed: boolean; className?: string | undefined; /** For previews and tests; defaults to the desktop app's bridge. */ bridge?: DesktopBridge | null; }): import("react").JSX.Element | null;