import stream from "stream"; import AsciiParser from "./AsciiParser.ts"; import BinaryParser from "./BinaryParser.ts"; import { ParserOptions } from "./types.ts"; export default class StlParser extends stream.Transform { options: ParserOptions; firstCall: boolean; parser: AsciiParser | BinaryParser; constructor(options?: ParserOptions); _flush(done: () => void): void; _transform(chunk: {}, _encoding: string, done: () => void): boolean; }