import type Model from "../../model.js"; import type { PrimaryKey } from "../../model.js"; import type { RelationshipMetadata } from "./schema.js"; export default class RelationshipQuery { static findPossibleReferenceInMemory(model: Model, metadata: RelationshipMetadata): Model | null | undefined; static findPossibleReferenceInMemoryByReverseRelationshipInstances(model: Model, metadata: RelationshipMetadata, relationshipModelsPrimaryKeyValue: PrimaryKey): [Model | undefined, Model | undefined, Model | undefined]; static findPossibleReferenceInMemoryByInstanceReferences(model: Model, metadata: RelationshipMetadata, foreignKeyColumnName?: string): [Model | undefined, Model | undefined]; static findReverseRelationships(source: Model, { RelationshipClass, ReverseRelationshipCache, reverseRelationshipType }: RelationshipMetadata): Model[]; }