import { SchemaObject } from '@nestjs/swagger/dist/interfaces/open-api-spec.interface'; import { ZodEntityProps } from '../types'; import { EntityClass, ObjectLiteral } from '../../../types'; export declare const errorSchema: { type: string; properties: { statusCode: { type: string; }; error: { type: string; }; message: { type: string; items: { type: string; properties: { code: { type: string; }; message: { type: string; }; path: { type: string; items: { type: string; }; }; keys: { type: string; items: { type: string; }; }; }; required: string[]; }; }; }; }; export declare function jsonSchemaResponse(entity: EntityClass, mapEntity: Map, ZodEntityProps>, array?: boolean): { type: string; properties: { meta: { type: string; }; data: { type: string; properties: { type: { type: string; const: string; }; id: { type: string; }; attributes: { type: string; properties: Record; }; relationships: { type: string; properties: Record; }; links: { type: string; properties: { self: { type: string; }; }; required: string[]; }; }; } | { type: string; items: { type: string; properties: { type: { type: string; const: string; }; id: { type: string; }; attributes: { type: string; properties: Record; }; relationships: { type: string; properties: Record; }; links: { type: string; properties: { self: { type: string; }; }; required: string[]; }; }; }; }; includes: { type: string; items: { type: string; properties: { type: { type: string; }; id: { type: string; }; attributes: { type: string; }; relationships: { type: string; properties: { relationName: { properties: { links: { type: string; properties: { self: { type: string; }; }; required: string[]; }; }; required: string[]; }; }; }; links: { type: string; properties: { self: { type: string; }; }; required: string[]; }; }; required: string[]; }; }; }; required: string[]; }; export declare function createApiModels(entity: EntityClass, mapEntity: ZodEntityProps): EntityClass; export declare const schemaTypeForRelation: { type: string; properties: { data: { oneOf: ({ type: string; properties: { type: { type: string; }; id: { type: string; }; }; } | { type: string; items?: undefined; } | { type: string; items: { type: string; properties: { type: { type: string; }; id: { type: string; }; }; }; })[]; }; }; }; export declare function getEntityMapProps(mapEntity: Map, ZodEntityProps>, entity: EntityClass): ZodEntityProps;