import { BundleInfo } from '../bundleInfo'; export type ApplyUpdateResult = { status: 'applied'; } | { status: 'noBundle'; } | { status: 'disabled'; } | { status: 'alreadyApplied'; } | { status: 'blocked'; reason: 'BUNDLE_PREVIOUSLY_FAILED'; skippedHash?: string; }; export declare const getUpdateState: (cached?: { bundleInfo?: BundleInfo | null; bundlePath?: string | null; }) => Promise<{ hasBundle: boolean; info: BundleInfo; pendingApply: boolean; }>; export declare const reconcileAppliedBundleOnLaunch: (cached?: { bundleInfo?: BundleInfo | null; bundlePath?: string | null; currentHash?: string | null; }) => Promise; export declare const applyUpdate: (onStatusUpdate?: (status: string) => void, onBeforeRestart?: () => void) => Promise;