@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
12 lines • 735 B
TypeScript
import type { Features, FirmwareRelease, ReleaseInfo } from '../types';
import { DeviceModelInternal } from '../types';
export declare const parseFirmware: (json: any, deviceModel: DeviceModelInternal) => void;
export declare const getReleases: (deviceModel: DeviceModelInternal) => FirmwareRelease[];
export interface GetInfoProps {
features: Features;
releases: FirmwareRelease[];
}
export declare const getInfo: ({ features, releases }: GetInfoProps) => ReleaseInfo | null;
export declare const getFirmwareStatus: (features: Features) => "valid" | "outdated" | "required" | "unknown" | "custom" | "none";
export declare const getRelease: (features: Features) => ReleaseInfo | null;
//# sourceMappingURL=firmwareInfo.d.ts.map