UNPKG

@hot-updater/plugin-core

Version:

React Native OTA solution for self-hosted

10 lines (9 loc) 455 B
import type { ConfigInput, Platform } from "./types/index.js"; import type { RequiredDeep } from "./types/utils.js"; export type HotUpdaterConfigOptions = { platform: Platform; channel: string; } | null; export type ConfigResponse = RequiredDeep<ConfigInput>; export declare const loadConfig: (options: HotUpdaterConfigOptions) => Promise<ConfigResponse>; export declare const loadConfigSync: (options: HotUpdaterConfigOptions) => ConfigResponse;