UNPKG

@hot-updater/react-native

Version:

React Native OTA solution for self-hosted

11 lines 438 B
export type HotUpdaterState = { progress: number; isUpdateDownloaded: boolean; }; export declare const hotUpdaterStore: { getSnapshot: () => HotUpdaterState; setState: (newState: Partial<HotUpdaterState>) => void; subscribe: (listener: () => void) => () => boolean; }; export declare const useHotUpdaterStore: <T = HotUpdaterState>(selector?: (snapshot: HotUpdaterState) => T) => T; //# sourceMappingURL=store.d.ts.map