export type DekRegistrySchemaPropsItem = { type: 'string' | 'number' | 'boolean' | 'list' | 'color'; title: string; default?: any; }; export type DekRegistrySchemaProps = Record; export type DekRegistrySchemaItem = { type: 'string' | 'number' | 'boolean' | 'component' | 'array' | 'props'; title: string; required: boolean; }; export type DekRegistrySchema = Record; export type DekRegistryCollectionItem = Record; export type DekRegistryCollection = { key: string; name: string; schema: DekRegistrySchema; items: Record; }; export type DekRegistry = { collections: Record; collection: (collectionKey: string) => DekRegistryCollection | undefined; collectionItems: (collectionKey: string) => DekRegistryCollectionItem[] | undefined; registerCollection: (collectionKey: string, name: string, schema: Record) => void; registerCollectionItem: (collectionKey: string, itemKey: string, item: DekRegistryCollectionItem) => void; };