import { ConsumedSector, WantedSector } from '../../cad-parsers'; import { ModelDataProvider, ModelIdentifier } from '../../data-providers'; import { SectorRepository } from './SectorRepository'; export declare class GltfSectorRepository implements SectorRepository { private readonly _gltfSectorLoader; private readonly _gltfCache; constructor(sectorFileProvider: ModelDataProvider); private getEmptySectorWithLod; private getEmptyDetailedSector; private getEmptyDiscardedSector; loadSector(sector: WantedSector, abortSignal?: AbortSignal): Promise; setCacheSize(sectorCount: number): void; clearCache(): void; /** * Dereferences a sector when a model stops using it. * The cache handles reference counting and automatic disposal when count reaches zero. * @param modelIdentifier The model identifier that was using the sector * @param sectorId The sector ID to dereference */ dereferenceSector(modelIdentifier: ModelIdentifier, sectorId: number): void; private wantedSectorCacheKey; }