import type { EntityLinkFileSchema, EntityContactFileSchema } from '@redocly/config';
export type EntitySource = 'file' | 'remote';
export type EntityRelationReadModelSchema = {
    id: string;
    organizationId: string;
    projectId: string;
    sourceKey: string;
    targetKey: string;
    sourceVersion?: string | null;
    sourceRevision?: string | null;
    targetVersion?: string | null;
    targetRevision?: string | null;
    type: string;
    lastSeenRunId: string | null;
    createdAt: string;
    updatedAt: string;
    object: 'catalogEntityRelation';
};
export type EntityReadModelSchema = {
    id: string;
    organizationId: string;
    projectId: string;
    type: string;
    key: string;
    title: string;
    summary?: string | null;
    tags?: string[] | null;
    metadata?: Record<string, unknown> | null;
    git?: string[] | null;
    contact?: EntityContactFileSchema | null;
    links?: EntityLinkFileSchema[] | null;
    source: EntitySource;
    sourceFile?: string | null;
    version: string;
    revision: string;
    isCurrent: boolean;
    isDefaultVersion: boolean;
    isDeleted: boolean;
    object: 'catalogEntity';
    createdAt: string;
    updatedAt: string;
    rbacTeams?: string[] | null;
    hash?: string | null;
};
export type EntityRevisionSummary = Pick<EntityReadModelSchema, 'version' | 'revision' | 'isCurrent' | 'createdAt' | 'updatedAt' | 'isDefaultVersion'>;
//# sourceMappingURL=read-model-schemas.d.ts.map