1 | import type { Device } from './bindings';
|
2 | import { CapabilityDescriptor } from './descriptors';
|
3 | export declare class Capability {
|
4 | protected device: Device;
|
5 | protected id: number;
|
6 | /** Object with fields from the capability descriptor -- see libusb documentation or USB spec. */
|
7 | descriptor: CapabilityDescriptor;
|
8 | /** Integer capability type. */
|
9 | type: number;
|
10 | /** Buffer capability data. */
|
11 | data: Buffer;
|
12 | constructor(device: Device, id: number);
|
13 | }
|