Initial commit, 90% there

This commit is contained in:
mdares
2025-12-02 16:27:21 +00:00
commit 755028af7e
7353 changed files with 1759505 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { ErrorCallback, OpenOptions, SerialPortStream } from '@serialport/stream';
import { MockBindingInterface } from '@serialport/binding-mock';
export type SerialPortMockOpenOptions = Omit<OpenOptions<MockBindingInterface>, 'binding'>;
export declare class SerialPortMock extends SerialPortStream<MockBindingInterface> {
static list: () => Promise<import("@serialport/bindings-interface").PortInfo[]>;
static readonly binding: MockBindingInterface;
constructor(options: SerialPortMockOpenOptions, openCallback?: ErrorCallback);
}