import { EventEmitter } from 'events'; import { type HIDDeviceInfo, type HIDDeviceEvents, type ChildHIDDeviceInfo, type StreamDeckTcpChildDeviceInfo } from '@elgato-stream-deck/core'; import { type SocketWrapper } from '../socketWrapper.js'; import type { TcpHidDevice } from './api.js'; /** * A HIDDevice implementation for cora based TCP connections * This isn't really HID, but it fits the existing structure well enough * Note: this gets destroyed when the socket is closed, so we can rely on this for resetting the state */ export declare class TcpCoraHidDevice extends EventEmitter implements TcpHidDevice { #private; get isPrimary(): boolean; set onChildInfoChange(cb: ((info: Omit | null) => void) | null); constructor(socket: SocketWrapper); close(): Promise; sendFeatureReport(data: Uint8Array): Promise; getFeatureReport(reportId: number, _reportLength: number): Promise; sendReports(buffers: Buffer[]): Promise; getDeviceInfo(): Promise; getChildDeviceInfo(): Promise; } //# sourceMappingURL=cora.d.ts.map