import { BundleInfo } from '../bundleInfo'; import type { UpdateCheckResponse, BundleListItem } from '../api/types'; export declare function getAvailableChannels(): Promise; export declare function checkForUpdate(channelName?: string, onStatusUpdate?: (status: string) => void): Promise; export declare function authorizeRuntimeDeliveryUpdate(decision: UpdateCheckResponse): Promise; export declare function getInstalledBundleInfo(): Promise; /** * Query options for browsing downloadable bundles from a public channel. */ export type GetAvailableBundlesOptions = { /** Channel to browse. Defaults to the active runtime channel. */ channelName?: string; /** Override platform when browsing bundles outside the current device platform. */ platform?: string; /** Maximum number of items to return in this page. */ limit?: number; /** Cursor returned by a previous page response. */ cursor?: string; }; /** * One page of public bundle-list results. */ export type AvailableBundlesPage = { /** Bundles available on the requested channel/page. */ items: BundleListItem[]; /** Cursor for the next page, or `null` when there is no next page. */ nextCursor: string | null; /** `true` when another page can be fetched with `nextCursor`. */ hasMore: boolean; }; export declare function getAvailableBundles(options?: GetAvailableBundlesOptions): Promise;