import { CoreValidator, TypeOf } from 'suretype'; import { Static, TSchema } from 'typebox'; export type TSchemaLib = SchemaLibType extends CoreValidator ? TypeOf : SchemaLibType extends TSchema ? Static : unknown; export type TJSONSchema = Record; export type Prettify = { [Key in keyof TObject]: TObject[Key]; } & {};