import type { Features } from '../../types'; import type { EFirmwareType } from '@onekeyfe/hd-shared'; import type { FirmwareByteSource } from './FirmwareArtifactSource'; export declare function checkNeedUpdateBootForTouch(features: Features, firmwareType: EFirmwareType): boolean; export declare function checkNeedUpdateBootForClassicAndMini({ features, willUpdateFirmware, firmwareType, }: { features: Features; willUpdateFirmware?: string; firmwareType: EFirmwareType; }): boolean; export declare function checkBootloaderLength(data: ArrayBuffer): boolean; export declare const checkBootloaderSourceLength: (source: FirmwareByteSource) => Promise; //# sourceMappingURL=updateBootloader.d.ts.map