import type { DeviceConnectionItem, I18nText, PeripheralConnectionRow, PeripheralDevice, RuntimeConnectionState } from '../types'; interface CreatePeripheralConnectionCardModelParams { row: PeripheralConnectionRow; runtimeOverlay?: RuntimeConnectionState; getText: (key: string) => string; translation: (val?: I18nText) => string; } export interface PeripheralConnectionCardModel { connection: DeviceConnectionItem; peripheral: DeviceConnectionItem['target_device']; physicalDevice?: PeripheralDevice; status: 'connected' | 'connecting' | 'disconnected'; title: string; subtitle: string; modelName: string; connectionTypeLabel: string; connectionDetail?: string; profileLabels: Array; icon: string; canTest: boolean; canConnect: boolean; isSelectAction: boolean; isUsageAction: boolean; actionText: string; actionDisabled: boolean; canDisconnect: boolean; } /** 基于 row 生成卡片展示模型,只做展示派生,不改变接口字段结构。 */ export declare const createPeripheralConnectionCardModel: ({ row, runtimeOverlay, getText, translation, }: CreatePeripheralConnectionCardModelParams) => PeripheralConnectionCardModel; export {};