/** * This `UnderlyingDefaultSource` will automatically request and enqueue * `USBIsochronousInTransferResult`s from the device. * * You should have already configured the device and claimed the relevant * interface before starting the stream. */ export declare class UnderlyingIsochronousTransferSource implements UnderlyingDefaultSource { private readonly dev; private readonly usbEndpoint; private readonly packetLengths; private readonly pullInterval; private pendingTransfers; private interval?; /** * @param dev - The USBDevice containing the isochronous endpoint. * @param usbEndpoint - The index of the isochronous endpoint. * @param packetLengths - Array specifying byte size of each packet in batch. * @param pullInterval - Interval in milliseconds between transfer requests. */ constructor(dev: USBDevice, usbEndpoint: number, packetLengths: number[], pullInterval?: number); start(cont: ReadableStreamDefaultController): Promise; pull(cont: ReadableStreamDefaultController): void; cancel(reason?: unknown): void; } //# sourceMappingURL=transfer-source.d.ts.map