import { MrSet } from "../types.js"; export type MrDecoder = (bytes: Uint8Array, off: number, len: number) => string; /** Parse a single MR definition line (without leading '$' / trailing '\n'). */ export declare function extractMrData(line: Uint8Array, decode: MrDecoder): MrSet | null; /** * Parse a full multiple-response-sets record. Lines start with '$' and end * with '\n'; the record ends with a NUL. Returns the parsed sets; on any * malformed line the partially parsed set list is returned so that reading the * rest of the file is unaffected. */ export declare function parseMrString(data: Uint8Array, decode: MrDecoder): MrSet[];