import { BaseMethod } from './BaseMethod'; import type { EFirmwareType } from '@onekeyfe/hd-shared'; import type { AllFirmwareRelease, ProtocolV2FirmwareComponentRelease, ProtocolV2FirmwareReleaseStatus } from '../types/api/checkAllFirmwareRelease'; import type { FirmwareUpdateV4Target } from '../types/api/firmwareUpdate'; import type { DeviceFeaturesVerify, DeviceStateVersions, IFirmwareReleaseInfo } from '../types'; export type ProtocolV2FirmwareReleasePlan = { firmwareType: EFirmwareType; status: ProtocolV2FirmwareReleaseStatus; hasUpgrade: boolean; required: boolean; currentVersions: DeviceStateVersions; components: ProtocolV2FirmwareComponentRelease[]; targetsToUpdate: FirmwareUpdateV4Target[]; release: IFirmwareReleaseInfo | undefined; }; export declare function buildProtocolV2FirmwareRelease({ currentVersions, currentVerification, checkFirmwareHash, remotePayloadHashes, firmwareType, release, deviceType, }: { currentVersions: DeviceStateVersions; currentVerification?: Partial; checkFirmwareHash?: boolean; remotePayloadHashes?: Readonly>; firmwareType: EFirmwareType; release: IFirmwareReleaseInfo | undefined; deviceType?: 'pro2' | 'neo'; }): ProtocolV2FirmwareReleasePlan; export default class CheckAllFirmwareRelease extends BaseMethod { getSupportedProtocols(): readonly ["V1", "V2"]; init(): void; run(): Promise; private runProtocolV2; } //# sourceMappingURL=CheckAllFirmwareRelease.d.ts.map