import { type AppConfig, type ApplicationResolver, DeviceModelId, type DeviceSessionState, type InternalApi, type ResolvedApp } from "@ledgerhq/device-management-kit"; import { type AppConfiguration } from "../../api/model/AppConfiguration"; export declare const SOLANA_MIN_SPL_VERSION = "1.9.2"; export declare const SOLANA_MIN_DELAYED_SIGNING_VERSION = "1.14.0"; export declare const SOLANA_MIN_TRANSACTION_CHECKS_VERSION = "1.16.0"; export declare const SOLANA_MIN_GENERIC_CLEAR_SIGN_VERSION = "10.0.0"; export declare const SOLANA_SIGNER_FEATURES: { readonly spl: { readonly minVersion: "1.9.2"; readonly excludedModels: readonly [DeviceModelId.NANO_S]; readonly excludedApps: string[]; }; readonly transactionChecks: { readonly minVersion: "1.16.0"; readonly excludedModels: readonly [DeviceModelId.NANO_S, DeviceModelId.NANO_SP, DeviceModelId.NANO_X]; readonly excludedApps: readonly ["Exchange"]; }; readonly delayedSigning: { readonly minVersion: "1.14.0"; readonly excludedModels: DeviceModelId[]; readonly excludedApps: string[]; }; readonly genericClearSign: { readonly minVersion: "10.0.0"; readonly excludedModels: readonly [DeviceModelId.NANO_S]; readonly excludedApps: readonly ["Exchange"]; }; }; export type SolanaSignerFeaturesNames = keyof typeof SOLANA_SIGNER_FEATURES; /** * Whether the connected Solana app supports a given feature, applying its * minimum version plus device-model / orchestrating-app exclusions. * * Pass `disabledFeatures` to force-disable specific features regardless of * firmware version (e.g. for testing or temporary kill-switches). */ export declare function isSolanaSignerFeatureSupported(internalApi: InternalApi, feature: SolanaSignerFeaturesNames, appConfig: AppConfiguration, disabledFeatures?: ReadonlySet): boolean; export declare class SolanaApplicationResolver implements ApplicationResolver { resolve(deviceState: DeviceSessionState, appConfig: AppConfig): ResolvedApp; } //# sourceMappingURL=SolanaApplicationResolver.d.ts.map