import type { IfcDataStore } from './columnar-parser.js'; /** * An assembled store before its lazy accessor methods are attached — every * data field of an {@link IfcDataStore} except the four accessors. */ export type IfcStoreData = Omit; /** * Attach the lazy `getEntity` / `getEntitiesByType` / `getProperties` / * `getQuantities` accessors to an assembled store, in place, and return it. * * These accessors lazily read entity/property/quantity data from the store's * `source` buffer (via the on-demand maps + byte index) rather than from * pre-materialised tables, so every store-construction path must attach them. * There are three such paths — the fresh columnar parse, the worker→main * transport reconstruction, and the on-disk cache restore — and this helper is * the single home for the wiring so they can never drift apart. (A cache * restore that skipped this shipped a store missing `getEntity`, which crashed * the Properties panel via `EntityNode.allAttributes`.) * * Requires `source`, `entityIndex`, and the on-demand maps to already be * populated on `store`. */ export declare function attachDataStoreAccessors(store: IfcStoreData): IfcDataStore; //# sourceMappingURL=data-store-accessors.d.ts.map