import type { PwaUpdateCheckInputValue, PwaUpdateCheckOutputValue } from '@contractspec/lib.contracts-spec/pwa/types'; export interface PwaUpdateClientOptions { appId: string; currentVersion: string; currentBuildId?: string; platform?: string; check: (input: PwaUpdateCheckInputValue) => Promise; enabled?: boolean; checkIntervalMs?: number; onPrompt?: (update: PwaUpdateCheckOutputValue) => void; onApply?: (update: PwaUpdateCheckOutputValue) => void | Promise; } export interface PwaUpdateClientState { update: PwaUpdateCheckOutputValue | null; updateAvailable: boolean; required: boolean; blocking: boolean; optional: boolean; loading: boolean; error: string | null; checkNow: () => Promise; applyUpdate: () => Promise; dismissUpdate: () => void; } export declare function isPwaUpdateBlocking(update: PwaUpdateCheckOutputValue | null | undefined): boolean; export declare function shouldPromptForPwaUpdate(update: PwaUpdateCheckOutputValue | null | undefined): boolean; export declare function usePwaUpdateChecker(options: PwaUpdateClientOptions): PwaUpdateClientState;