import { IKosDataModel, IKosModel } from '../core/kosModel';
interface KosReferences {
    references: WeakMap<IKosModel, Set<IKosModel>>;
    referencedBy: WeakMap<IKosModel, Set<IKosModel>>;
}
declare global {
    interface Window {
        KosReferences: KosReferences;
    }
}
export declare const addReference: (from: IKosModel, to: IKosModel) => void;
export declare const removeReference: (from: IKosModel, to: IKosModel) => void;
export declare const getReferences: (model: IKosDataModel) => unknown[];
export declare const getReferencedBy: (model: IKosDataModel) => unknown[];
export {};
//# sourceMappingURL=reference-cache.d.ts.map