13 lines
525 B
TypeScript
13 lines
525 B
TypeScript
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import { Bert } from "./bert.js";
|
|
import { Duplex } from "node:stream";
|
|
type WriteCallback = (error: Error | null | undefined) => void;
|
|
export declare class Port extends Duplex {
|
|
readonly bert: Bert;
|
|
constructor(allBinariesAsString?: boolean, mapKeyAsAtom?: boolean, decodeUndefinedValues?: boolean);
|
|
_read(): void;
|
|
_write(obj: any, encodingOrCallback?: BufferEncoding | WriteCallback, callback?: WriteCallback | undefined): boolean;
|
|
}
|
|
export {};
|