import { z } from './zui'; type SchemaOptions = { title: string; examples: T[]; }; type IsEmptyObject = keyof T extends never ? true : false; type UiDefinition = IsEmptyObject> extends true ? Record : { [K in keyof z.infer]: Partial[K]>>; }; export type SchemaDefinition = { schema: TSchema; /** * @deprecated * Use zod.Schema.displayAs() instead **/ ui?: Partial>; }; export {};