import ParsingBuffer from "../parsing/parsing_buffer.js"; import StepParser, { ParseResult } from "../step/parsing/step_parser.js"; import EntityTypesIfc from "./ifc4_gen/entity_types_ifc.gen.js"; import IfcStepModel from "./ifc_step_model.js"; /** * Parser for taking IFC file serialized in step and turning them into a lazily parsed model. */ export default class IfcStepParser extends StepParser { /** * Construct the IFC step parser. */ constructor(); /** * An easily accessible and re-usable instance of the parser. * * Note the parser itself is free of mutable state in the class, so there's no problems * with just using a single one. */ static readonly Instance: IfcStepParser; /** * Parse data to the model * * @param input The parsing buffer, set to user data, to read. * @return {[ParseResult, IfcStepModel | undefined]} The parse result as well as the model, * if it can be extracted. */ parseDataToModel(input: ParsingBuffer): [ ParseResult, IfcStepModel | undefined ]; } //# sourceMappingURL=ifc_step_parser.d.ts.map