import { JsonSchemaProperty } from "./json-schemas.js"; import { z } from "@hono/zod-openapi"; //#region src/validation/extend-schemas.d.ts declare const NameSchema: z.ZodString; declare const DescriptionSchema: z.ZodOptional>; /** * Used in z.transform() */ declare function transformToJson(value: T, ctx: z.RefinementCtx): any; declare const DataComponentExtendSchema: { name: z.ZodString; description: z.ZodOptional>; props: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>; }; declare const ArtifactComponentExtendSchema: { name: z.ZodString; description: z.ZodOptional>; props: z.ZodNullable; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>>; }; type WithTimestamps = T & { createdAt?: string; updatedAt?: string; }; //#endregion export { ArtifactComponentExtendSchema, DataComponentExtendSchema, DescriptionSchema, NameSchema, WithTimestamps, transformToJson };