import type { CapabilityName, DeviceModelSummary, EmbedExclusions, IntegrationSupportLevel, Manufacturer, ManufacturerRef, ProviderRequirements } from '../../../../lib/seam/ecosystem/types.js'; export interface DeviceModelFilters { manufacturer?: string | null; deviceType?: string | null; capability?: string | null; search?: string; } export interface SupportedCapability { name: CapabilityName; supported: 'yes' | 'conditionally'; details: string | null; integrationSupportLevel: IntegrationSupportLevel | null; requirements: string[]; } export interface ManufacturerGroup { key: string; manufacturer: ManufacturerRef | null; deviceModels: DeviceModelSummary[]; } export interface FilterOption { value: string; label: string; } /** Capabilities shown as badges, in display order. */ export declare const capabilityLabels: Partial>; export declare const getCapabilityLabel: (name: string) => string; /** * Removes what a partner's embed key says its widgets must not show * (Ecosystem `embed/resolve`): excluded manufacturers and device types, * unsupported providers, and the provider combinations excluded for the * resolved capability. A model left with no provider is removed. */ export declare const applyEmbedExclusions: (deviceModels: DeviceModelSummary[], exclusions: EmbedExclusions | null | undefined) => DeviceModelSummary[]; /** The API filters models by provider, but still returns every provider's capabilities. */ export declare const scopeDeviceModelsToProvider: (deviceModels: DeviceModelSummary[], provider: string | null | undefined) => DeviceModelSummary[]; /** The best currently available support for each capability across the model's providers. */ export declare const getSupportedCapabilities: (deviceModel: DeviceModelSummary) => SupportedCapability[]; export declare const getProvidersWithMissingRequirements: (models: DeviceModelSummary[]) => string[]; /** Legacy translation treats provider prose as a dictionary key; the public provider retains the prose. */ export declare const resolveProviderRequirements: (models: DeviceModelSummary[], providers: ProviderRequirements[]) => DeviceModelSummary[]; /** Keep specific constraints; replace boilerplate with an actionable setup note. */ export declare const getCapabilityRequirementMessages: (capability: SupportedCapability) => string[]; export declare const supportsCapability: (deviceModel: DeviceModelSummary, capability: string) => boolean; export declare const filterDeviceModels: (deviceModels: DeviceModelSummary[], { manufacturer, deviceType, capability, search }: DeviceModelFilters) => DeviceModelSummary[]; export declare const groupDeviceModelsByManufacturer: (deviceModels: DeviceModelSummary[]) => ManufacturerGroup[]; export declare const getManufacturerOptions: (deviceModels: DeviceModelSummary[]) => FilterOption[]; export declare const getDeviceTypeOptions: (deviceModels: DeviceModelSummary[]) => FilterOption[]; export declare const getCapabilityOptions: (deviceModels: DeviceModelSummary[]) => FilterOption[]; export declare const getDeviceModelName: (deviceModel: DeviceModelSummary) => string; export declare const getManufacturerName: (manufacturer: ManufacturerRef | Manufacturer) => string; /** The best available image URL for a device model. */ export declare const getDeviceModelImageUrl: (deviceModel: DeviceModelSummary, manufacturer?: Manufacturer | null) => string | null; /** The manufacturer's logo, preferring a square logo. */ export declare const getManufacturerLogoUrl: (manufacturer: Manufacturer | null | undefined, { mono }?: { mono?: boolean | undefined; }) => string | null;