UNPKG

505 BTypeScriptView Raw
1/// <reference types="node" />
2import Parser, { type ParserOptions } from './token/stream-parser';
3import { type Metadata } from './metadata-parser';
4import { Result } from './token/helpers';
5declare function readValue(buf: Buffer, offset: number, metadata: Metadata, options: ParserOptions): Result<unknown>;
6declare function isPLPStream(metadata: Metadata): boolean | undefined;
7declare function readPLPStream(parser: Parser): Promise<null | Buffer[]>;
8export { readValue, isPLPStream, readPLPStream };