@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
12 lines • 898 B
TypeScript
import type { Feature_OnboardingIgnoredOSUpdates, Platform, IgnoredOSUpdates } from "@ledgerhq/types-live";
import type { DeviceModelId } from "@ledgerhq/types-devices";
/**
* Extracts the ignored OS updates for a specific device model and platform from the configuration
*
* @param ignoredOSUpdatesConfig The configuration object containing ignored OS updates per platform and device model
* @param deviceModelId The device model identifier
* @param platform The platform to get updates for
* @returns Array of firmware versions that should be ignored for the given device model and platform
*/
export declare const getIgnoredOSUpdatesForDeviceModelAndPlatform: (ignoredOSUpdatesConfig: Feature_OnboardingIgnoredOSUpdates["params"] | undefined, deviceModelId: DeviceModelId, platform: Platform) => IgnoredOSUpdates;
//# sourceMappingURL=getIgnoredOSUpdatesForDeviceModelAndPlatform.d.ts.map