import type * as net from "net"; import type { Channel } from "./channel.js"; /** A message larger than this is not a checkpoint anyone can show; the * connection is closed rather than buffered without end. */ export declare const MAX_MESSAGE_BYTES: number; export declare function lineChannel(socket: net.Socket, maxBytes?: number): Channel;