import type { FromSchema } from 'json-schema-to-ts';
import type { EntityLinkFileSchema, EntityContactFileSchema } from '@redocly/config';
export declare const entityRelationReadModelSchema: {
    readonly type: "object";
    readonly properties: {
        readonly id: {
            readonly type: "string";
        };
        readonly organizationId: {
            readonly type: "string";
        };
        readonly projectId: {
            readonly type: "string";
        };
        readonly sourceKey: {
            readonly type: "string";
        };
        readonly targetKey: {
            readonly type: "string";
        };
        readonly sourceId: {
            readonly type: "string";
        };
        readonly targetId: {
            readonly type: "string";
        };
        readonly type: {
            readonly type: "string";
        };
        readonly createdAt: {
            readonly type: readonly ["string", "null"];
        };
        readonly updatedAt: {
            readonly type: readonly ["string", "null"];
        };
    };
    readonly required: readonly ["id", "organizationId", "projectId", "sourceKey", "targetKey", "sourceId", "targetId", "type"];
    readonly additionalProperties: false;
};
export declare const entityReadModelSchema: {
    readonly type: "object";
    readonly properties: {
        readonly type: {
            readonly type: "string";
        };
        readonly key: {
            readonly type: "string";
        };
        readonly title: {
            readonly type: "string";
        };
        readonly summary: {
            readonly type: readonly ["string", "null"];
        };
        readonly tags: {
            readonly type: readonly ["array", "null"];
            readonly items: {
                readonly type: "string";
            };
        };
        readonly metadata: {
            readonly type: readonly ["object", "null"];
            readonly additionalProperties: true;
        };
        readonly git: {
            readonly type: readonly ["array", "null"];
            readonly items: {
                readonly type: "string";
            };
        };
        readonly contact: {
            readonly type: readonly ["object", "null"];
        };
        readonly links: {
            readonly type: readonly ["array", "null"];
            readonly items: {
                readonly type: "object";
            };
        };
        readonly id: {
            readonly type: "string";
        };
        readonly source: {
            readonly type: "string";
        };
        readonly sourceFile: {
            readonly type: readonly ["string", "null"];
        };
        readonly createdAt: {
            readonly type: readonly ["string", "null"];
        };
        readonly updatedAt: {
            readonly type: readonly ["string", "null"];
        };
    };
    readonly required: readonly ["type", "key", "title", "id", "source"];
    readonly additionalProperties: false;
};
export declare const relatedEntitySchema: {
    readonly type: "object";
    readonly properties: {
        readonly id: {
            readonly type: "string";
        };
        readonly key: {
            readonly type: "string";
        };
        readonly title: {
            readonly type: "string";
        };
        readonly type: {
            readonly type: "string";
        };
        readonly summary: {
            readonly type: readonly ["string", "null"];
        };
        readonly source: {
            readonly type: "string";
        };
        readonly sourceFile: {
            readonly type: readonly ["string", "null"];
        };
        readonly createdAt: {
            readonly type: readonly ["string", "null"];
        };
        readonly updatedAt: {
            readonly type: readonly ["string", "null"];
        };
    };
    readonly required: readonly ["id", "key", "title", "type", "source"];
    readonly additionalProperties: false;
};
export type EntityRelationReadModelSchema = FromSchema<typeof entityRelationReadModelSchema>;
export type RelatedEntitySchema = FromSchema<typeof relatedEntitySchema>;
export type EntityReadModelSchema = {
    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;
    id: string;
    source: string;
    sourceFile?: string | null;
    createdAt?: string | null;
    updatedAt?: string | null;
    object: 'catalogEntity';
    domains?: RelatedEntitySchema[];
    owners?: RelatedEntitySchema[];
};
//# sourceMappingURL=read-model-schemas.d.ts.map