/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export interface PackageUpdate {
    name: string;
    installed: string | null;
    latest: string | null;
    hasUpdate: boolean;
}
export interface UsePackageUpdatesResult {
    updates: PackageUpdate[];
    loading: boolean;
    error: string | null;
}
/**
 * Polls the runtime's `/api/package-updates` endpoint on mount. The runtime
 * caches results for 1 day, so calling this on every home-screen render is
 * cheap. Returns the full updates list — callers filter by `hasUpdate` for
 * the notification UI.
 */
export declare function usePackageUpdates(): UsePackageUpdatesResult;
