import { ErrorCallback, OpenOptions, SerialPortStream } from '@serialport/stream'; import { MockBindingInterface } from '@serialport/binding-mock'; export type SerialPortMockOpenOptions = Omit, 'binding'>; export declare class SerialPortMock extends SerialPortStream { static list: () => Promise; static readonly binding: MockBindingInterface; constructor(options: SerialPortMockOpenOptions, openCallback?: ErrorCallback); }