import { z } from '@strapi/utils'; interface SchemaAttribute { type: string; required?: boolean; enum?: string[]; component?: string; repeatable?: boolean; multiple?: boolean; min?: number; max?: number; relation?: string; } interface ComponentSchema { info?: { displayName?: string; description?: string; }; attributes: Record; } interface ComponentRegistry { get(uid: string): ComponentSchema | undefined; } export interface BlockSchemaCatalogEntry { uid: string; displayName: string; description?: string; attributes: Record; components: Record; } export declare function buildComponentSchema(registry: ComponentRegistry, uid: string, visited?: Set): z.ZodObject; export declare function buildBlocksInputSchema(registry: ComponentRegistry, blockUids: string[]): z.ZodType; export declare function buildBlockSchemaCatalog(registry: ComponentRegistry, blockUids: string[]): BlockSchemaCatalogEntry[]; export {}; //# sourceMappingURL=schema.d.ts.map