import type { MessageFactoryFn } from './utils'; import type { getBleFirmwareReleaseInfo, getFirmwareReleaseInfo } from '../api/firmware/releaseHelper'; import type { KnownDevice as Device } from '../types/device'; export declare const FIRMWARE_EVENT = "FIRMWARE_EVENT"; export declare const FIRMWARE: { readonly RELEASE_INFO: "firmware-release-info"; readonly BLE_RELEASE_INFO: "ble-firmware-release-info"; }; export type ReleaseInfoPayload = ReturnType & { device?: Device | null; }; export interface ReleaseInfoEvent { type: typeof FIRMWARE.RELEASE_INFO; payload: ReleaseInfoPayload; } export type BleReleaseInfoPayload = ReturnType & { device?: Device | null; }; export interface BleReleaseInfoEvent { type: typeof FIRMWARE.BLE_RELEASE_INFO; payload: BleReleaseInfoPayload; } export type FirmwareEvent = ReleaseInfoEvent | BleReleaseInfoEvent; export type FirmwareMessage = FirmwareEvent & { event: typeof FIRMWARE_EVENT; }; export declare const createFirmwareMessage: MessageFactoryFn; //# sourceMappingURL=firmware.d.ts.map