import type { OntologyToOntologyOutwardEdge, OntologyTypeVertexId, OutwardEdge, Subgraph } from "../../../types/subgraph.js"; import type { VersionedUrl } from "@blockprotocol/type-system"; /** * This is a helper function to extract ontology edges given an `outwardEdgePredicate` function. * * @internal * @param subgraph {Subgraph} - The `Subgraph` containing the underlying ontology types * @param ontologyTypeId {OntologyTypeVertexId | VersionedUrl} - The identifier of the `EntityType` to search for * @param outwardEdgePredicate {(outwardEdge: OutwardEdge) => outwardEdge is OntologyToOntologyOutwardEdge} - The predicate to filter edges by * @returns {OntologyTypeVertexId[]} - The resulting endpoints of the filtered edges */ export declare const getOntologyEndpointsForOntologyOutwardEdge: (subgraph: Subgraph, ontologyTypeId: OntologyTypeVertexId | VersionedUrl, outwardEdgePredicate: (outwardEdge: OutwardEdge) => outwardEdge is OntologyToOntologyOutwardEdge) => OntologyTypeVertexId[];