import { OBD2Connection } from './connection'; import { ConnectionConfig } from './types'; /** * Serial (USB/RS232) connection to an ELM327 adapter. * The most reliable connection method for OBD2 communication. * * Updated to use ResponseMatcher for better request/response matching. */ export declare class SerialConnection extends OBD2Connection { private port?; protected buffer: string; private lineEnding; constructor(config: ConnectionConfig); connect(): Promise; disconnect(): Promise; sendRaw(data: string): Promise; isConnectionOpen(): boolean; private setupEventHandlers; protected clearBuffer(): void; /** * Lists all available serial ports on the system. */ static listPorts(): Promise>; } //# sourceMappingURL=serial-connection.d.ts.map