/** * Metadata persisted for the currently downloaded or applied OTA bundle. */ export type BundleInfo = { /** Monotonic bundle version assigned by BundleDrop. */ bundleVersion?: number; /** Optional semantic/app version attached during upload. */ version?: string; /** Immutable bundle hash used for install, reporting, and deduplication. */ hash?: string; /** ISO timestamp for when this bundle metadata was written locally. */ installedAt?: string; /** Channel used when the bundle was downloaded or installed. */ channelName?: string; /** Platform this local metadata belongs to. */ platform?: 'ios' | 'android'; /** `true` when the bundle has downloaded but has not yet been applied. */ pendingApply?: boolean; /** Last bundle hash successfully reported to the backend as installed. */ lastInstalledReportedHash?: string; /** Bundle hashes already reported as installed for this app install. */ installedReportedHashes?: string[]; /** Runtime version the bundle is compatible with. */ runtimeVersion?: string; }; export declare function readBundleInfo(): Promise; export declare function writeBundleInfoDurably(info: BundleInfo): Promise; export declare function writeBundleInfo(info: BundleInfo): Promise; export declare function updateBundleInfo(partial: Partial): Promise; export declare function deleteBundleInfo(): Promise;