import type { HIDDevice } from './hid-device.js'; import { DeviceModelId } from './id.js'; import type { StreamDeck } from './types.js'; import type { OpenStreamDeckOptions } from './models/base.js'; import type { PropertiesService } from './services/properties/interface.js'; import type { DeviceModelType } from './modelInfo.js'; /** Opens a device of a known model. Already bound to the model it was looked up by */ export type StreamDeckDriver = (device: HIDDevice, options: Required, tcpPropertiesService?: PropertiesService) => StreamDeck | Promise; export interface DeviceModelSpec { id: DeviceModelId; type: DeviceModelType; productIds: number[]; vendorId: number; productName: string; /** * If needing to filter by usage */ hidUsage?: number; /** * If needing to filter by interface number */ hidInterface?: number; factory: (device: HIDDevice, options: Required, tcpPropertiesService?: PropertiesService) => StreamDeck | Promise; hasNativeTcp: boolean; } /** * List of all the known models, and the classes to use them * @deprecated Use {@link DEVICE_MODEL_INFO} and {@link getDriver} instead */ export declare const DEVICE_MODELS2: { [key in DeviceModelId]: Omit; }; /** @deprecated Use {@link DEVICE_MODEL_INFO} instead */ export declare const DEVICE_MODELS: DeviceModelSpec[]; /** * Get the factory to open a device of a model * @internal */ export declare function getDriver(id: DeviceModelId): StreamDeckDriver | undefined; //# sourceMappingURL=registry.d.ts.map