import type { OntologyTypeVertexId, Subgraph } from "../../../types/subgraph.js"; import type { VersionedUrl } from "@blockprotocol/type-system"; /** * Gets identifiers for all `PropertyType`s referenced within a given `EntityType` schema by searching for * "ConstrainsPropertiesOn" `Edge`s from the respective `Vertex` within a `Subgraph`. * * @param subgraph {Subgraph} - The `Subgraph` containing the type tree of the `EntityType` * @param entityTypeId {OntologyTypeVertexId | VersionedUrl} - The identifier of the `EntityType` to search for * @returns {OntologyTypeVertexId[]} - The identifiers of the `PropertyType`s referenced from the `EntityType` */ export declare const getPropertyTypesReferencedByEntityType: (subgraph: Subgraph, entityTypeId: OntologyTypeVertexId | VersionedUrl) => OntologyTypeVertexId[]; type EntityTypeReferences = { inheritsFrom: OntologyTypeVertexId[]; constrainsLinksOn: OntologyTypeVertexId[]; constrainsLinkDestinationsOn: OntologyTypeVertexId[]; }; /** * Gets identifiers for all `EntityType`s referenced within a given `EntityType` schema by searching for * "InheritsFrom", "ConstrainsLinksOn" and "ConstrainsLinkDestinationsOn" `Edge`s from the respective `Vertex` within a `Subgraph`. * * @param subgraph {Subgraph} - The `Subgraph` containing the type tree of the `EntityType` * @param entityTypeId {OntologyTypeVertexId | VersionedUrl} - The identifier of the `EntityType` to search for * @returns {EntityTypeReferences} - The identifiers of the `EntityType`s referenced from the `EntityType` grouped by their edge kind */ export declare const getEntityTypesReferencedByEntityType: (subgraph: Subgraph, entityTypeId: OntologyTypeVertexId | VersionedUrl) => EntityTypeReferences; export {};