import Model from "../../model.js"; import type { PrimaryKey } from "../../types.js"; type ModelName = string; type JSObject = { [key: string]: any; }; type ModelReferences = Set; export default class InstanceDB { static knownInstances: Map>>; static unknownInstances: Map>>; static persistedModels: Map>; static getAllKnownReferences(Class: typeof Model): Map>; static getAllUnknownInstances(Class: typeof Model): Array>; static getAllReferences(Class: typeof Model): Array>; static getPersistedModels(Class: typeof Model): Map; static isPersisted(modelReferences: ModelReferences): any; static makeModelPersisted(model: Model): void; static getReferences(model: Model): Set; static getOrCreateExistingInstancesSet(model: Model, buildObject: JSObject, primaryKey?: PrimaryKey): Set; } export {};