import type { GraphElementVertexId, Subgraph } from "../../types.js"; import type { EntityRecordId, OntologyTypeRecordId } from "@blockprotocol/type-system"; /** * Searches the vertices of the subgraph for an element that matches a given {@link EntityRecordId} or * {@link OntologyTypeRecordId}, and returns the associated {@link GraphElementVertexId}. * * @param subgraph * @param recordId * @throws if no {@link Vertex} is found that contains the provided RecordId within its metadata */ export declare const getVertexIdForRecordId: (subgraph: Subgraph, recordId: EntityRecordId | OntologyTypeRecordId) => GraphElementVertexId;