import { Id64String } from "@itwin/core-bentley";
import { ElementLoadOptions, ElementLoadProps, ElementProps } from "@itwin/core-common";
export interface CachedElement {
    loadOptions: ElementLoadOptions;
    elProps: ElementProps;
}
/**
 * A LRU cache for entities. Cache contains the ElementProps and the load options used to load it.
 * Cache can be searched by id, code or federationGuid.
 */
export declare class ElementLRUCache {
    readonly capacity: number;
    static readonly DEFAULT_CAPACITY = 2000;
    private _elementCache;
    private _cacheByCode;
    private _cacheByFederationGuid;
    private static makeCodeKey;
    private findElement;
    constructor(capacity?: number);
    clear(): void;
    get size(): number;
    deleteWithModel(modelId: Id64String): void;
    delete(key: ElementLoadProps): boolean;
    get(key: ElementLoadProps): CachedElement | undefined;
    set(el: CachedElement): this;
    get [Symbol.toStringTag](): string;
}
//# sourceMappingURL=ElementLRUCache.d.ts.map