import { CanonicalProfile } from "../core/canonical_profile.js"; import { ModelProfile } from "../core/model.js"; import { IfcProfileDef } from "./ifc4_gen/index.js"; import IfcStepModel from "./ifc_step_model.js"; /** * IFC model profile cache. */ export declare class IfcModelProfile implements ModelProfile { readonly model: IfcStepModel; private readonly profiles_; /** * Construct this with its parent model. * * @param model The model for this. */ constructor(model: IfcStepModel); /** * Get the number of profiles in this. * * @return {number} */ get length(): number; /** * Add a profile to the cache. * * @param profile */ add(profile: CanonicalProfile): void; /** * Get a profile by its local id. * * @param localID * @return {CanonicalProfile | undefined} */ getByLocalID(localID: number): CanonicalProfile | undefined; /** * Iterate through the profiles in this. * * @return {IterableIterator} */ [Symbol.iterator](): IterableIterator; /** * Get the OBJs for all the curves in the cache (lazily) * * @yields {[IfcProfileDef, string]} Curves with their matching OBJ as a string */ objs(): IterableIterator<[ IfcProfileDef, string ]>; } //# sourceMappingURL=ifc_model_profile.d.ts.map