2024-01-28 11:32:24 +00:00
|
|
|
/// <reference types="node" />
|
|
|
|
/// <reference types="node" />
|
|
|
|
import { Duplex } from "node:stream";
|
2024-01-28 15:01:33 +00:00
|
|
|
type WriteCallback = (error: Error | null | undefined) => void;
|
2024-01-28 11:32:24 +00:00
|
|
|
export declare class Port extends Duplex {
|
|
|
|
constructor();
|
2024-01-28 15:01:33 +00:00
|
|
|
read(): any;
|
|
|
|
write(obj: any, encodingOrCallback?: BufferEncoding | WriteCallback, callback?: WriteCallback | undefined): boolean;
|
2024-01-28 11:32:24 +00:00
|
|
|
_final(): void;
|
|
|
|
}
|
2024-01-28 15:01:33 +00:00
|
|
|
export {};
|