import { type EFirmwareType } from '@onekeyfe/hd-shared'; import { type IFirmwareField, type ProtocolV1MessageSchema } from '../data-manager/DataManager'; import type { Device } from '../device/Device'; import type { Features, SupportFeatureType } from '../types'; export declare const getSupportProtocolV1MessageSchema: (features: Features | undefined) => { messages: JSON; protocolV1MessageSchema: ProtocolV1MessageSchema; }; export declare const supportInputPinOnSoftware: (features?: Features) => SupportFeatureType; export declare const supportNewPassphrase: (features?: Features) => SupportFeatureType; export declare const getPassphraseStateWithRefreshDeviceInfo: (device: Device, options?: { expectPassphraseState?: string; onlyMainPin?: boolean; initSession?: boolean; deriveCardano?: boolean; rejectAttachPinForMainWallet?: boolean; mainPinSelected?: boolean; }) => Promise<{ passphraseState: string; newSession: string; unlockedAttachPin: boolean | undefined; resumed: boolean; walletStatusRefreshed: boolean; } | { passphraseState: string | undefined; newSession: string | undefined; unlockedAttachPin: boolean | undefined; }>; export declare const getPassphraseState: (device: Device, options?: { expectPassphraseState?: string; onlyMainPin?: boolean; initSession?: boolean; deriveCardano?: boolean; rejectAttachPinForMainWallet?: boolean; mainPinSelected?: boolean; }) => Promise<{ passphraseState: string | undefined; newSession: string | undefined; unlockedAttachPin: boolean | undefined; }>; export declare const supportModifyHomescreen: (features?: Features) => SupportFeatureType; export declare const getLatestFirmwareField: (firmwareType?: EFirmwareType) => IFirmwareField; export declare const getFirmwareUpdateField: ({ features, updateType, targetVersion, firmwareType, }: { features: Features; updateType: 'firmware' | 'ble'; targetVersion?: string | undefined; firmwareType: EFirmwareType; }) => 'ble' | IFirmwareField; export declare const getFirmwareUpdateFieldArray: (features: Features, updateType: 'firmware' | 'ble' | 'bootloader') => ('ble' | IFirmwareField)[]; export declare function fixVersion(version: string): string; export declare const fixFeaturesFirmwareVersion: (features: Features) => Features; //# sourceMappingURL=deviceFeaturesUtils.d.ts.map