import type { BffCatalogRelatedEntity } from '@redocly/theme/core/types'; import type { Row } from '@libsql/client'; /** * Creates BffCatalogRelatedEntity from validated schema data (e.g., from JSON fields in database). * This is used when the data has already been validated against relatedEntityDatabaseSchema. */ export declare function createBffRelatedEntity(relationRow: Row): BffCatalogRelatedEntity | null; /** * Creates BffCatalogRelatedEntity from raw query results (e.g., from SQL joins). * This handles raw database rows with snake_case field names and computes relationRole/relationType. */ export declare function createBffRelatedEntityFromQueryRow(row: Record): BffCatalogRelatedEntity | null; //# sourceMappingURL=create-bff-related-entity.d.ts.map