UNPKG

shadcn

Version:

Add components to your apps.

1,296 lines (1,295 loc) 162 kB
import { z } from 'zod'; declare const registryConfigItemSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>; declare const registryConfigSchema: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>>; declare const rawConfigSchema: z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; style: z.ZodString; rsc: z.ZodDefault<z.ZodBoolean>; tsx: z.ZodDefault<z.ZodBoolean>; tailwind: z.ZodObject<{ config: z.ZodOptional<z.ZodString>; css: z.ZodString; baseColor: z.ZodString; cssVariables: z.ZodDefault<z.ZodBoolean>; prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>; }, "strip", z.ZodTypeAny, { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }, { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }>; iconLibrary: z.ZodOptional<z.ZodString>; menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted"]>>>; menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>; aliases: z.ZodObject<{ components: z.ZodString; utils: z.ZodString; ui: z.ZodOptional<z.ZodString>; lib: z.ZodOptional<z.ZodString>; hooks: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }>; registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>>>; }, "strict", z.ZodTypeAny, { tailwind: { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }; style: string; rsc: boolean; tsx: boolean; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; $schema?: string | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }, { tailwind: { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }; style: string; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; $schema?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }>; declare const configSchema: z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; style: z.ZodString; rsc: z.ZodDefault<z.ZodBoolean>; tsx: z.ZodDefault<z.ZodBoolean>; tailwind: z.ZodObject<{ config: z.ZodOptional<z.ZodString>; css: z.ZodString; baseColor: z.ZodString; cssVariables: z.ZodDefault<z.ZodBoolean>; prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>; }, "strip", z.ZodTypeAny, { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }, { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }>; iconLibrary: z.ZodOptional<z.ZodString>; menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted"]>>>; menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>; aliases: z.ZodObject<{ components: z.ZodString; utils: z.ZodString; ui: z.ZodOptional<z.ZodString>; lib: z.ZodOptional<z.ZodString>; hooks: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }>; registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>>>; } & { resolvedPaths: z.ZodObject<{ cwd: z.ZodString; tailwindConfig: z.ZodString; tailwindCss: z.ZodString; utils: z.ZodString; components: z.ZodString; lib: z.ZodString; hooks: z.ZodString; ui: z.ZodString; }, "strip", z.ZodTypeAny, { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }, { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }>; }, "strict", z.ZodTypeAny, { tailwind: { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }; style: string; rsc: boolean; tsx: boolean; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; resolvedPaths: { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }; $schema?: string | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }, { tailwind: { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }; style: string; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; resolvedPaths: { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }; $schema?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }>; declare const workspaceConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; style: z.ZodString; rsc: z.ZodDefault<z.ZodBoolean>; tsx: z.ZodDefault<z.ZodBoolean>; tailwind: z.ZodObject<{ config: z.ZodOptional<z.ZodString>; css: z.ZodString; baseColor: z.ZodString; cssVariables: z.ZodDefault<z.ZodBoolean>; prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>; }, "strip", z.ZodTypeAny, { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }, { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }>; iconLibrary: z.ZodOptional<z.ZodString>; menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted"]>>>; menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>; aliases: z.ZodObject<{ components: z.ZodString; utils: z.ZodString; ui: z.ZodOptional<z.ZodString>; lib: z.ZodOptional<z.ZodString>; hooks: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }, { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }>; registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>>>; } & { resolvedPaths: z.ZodObject<{ cwd: z.ZodString; tailwindConfig: z.ZodString; tailwindCss: z.ZodString; utils: z.ZodString; components: z.ZodString; lib: z.ZodString; hooks: z.ZodString; ui: z.ZodString; }, "strip", z.ZodTypeAny, { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }, { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }>; }, "strict", z.ZodTypeAny, { tailwind: { css: string; baseColor: string; cssVariables: boolean; config?: string | undefined; prefix?: string | undefined; }; style: string; rsc: boolean; tsx: boolean; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; resolvedPaths: { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }; $schema?: string | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }, { tailwind: { css: string; baseColor: string; config?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }; style: string; aliases: { components: string; utils: string; ui?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }; resolvedPaths: { components: string; ui: string; utils: string; lib: string; hooks: string; cwd: string; tailwindConfig: string; tailwindCss: string; }; $schema?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }>>; declare const registryItemTypeSchema: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:page", "registry:file", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>; declare const registryItemFileSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:file", "registry:page"]>; target: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }>, z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>; target: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }>]>; declare const registryItemTailwindSchema: z.ZodObject<{ config: z.ZodOptional<z.ZodObject<{ content: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }>; declare const registryItemCssVarsSchema: z.ZodObject<{ theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }>; declare const registryItemCssSchema: z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>; declare const registryItemEnvVarsSchema: z.ZodRecord<z.ZodString, z.ZodString>; declare const registryItemFontSchema: z.ZodObject<{ family: z.ZodString; provider: z.ZodLiteral<"google">; import: z.ZodString; variable: z.ZodString; weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }, { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }>; declare const registryItemCommonSchema: z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; extends: z.ZodOptional<z.ZodString>; name: z.ZodString; title: z.ZodOptional<z.ZodString>; author: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; registryDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:file", "registry:page"]>; target: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }>, z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>; target: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }>]>, "many">>; tailwind: z.ZodOptional<z.ZodObject<{ config: z.ZodOptional<z.ZodObject<{ content: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }>>; cssVars: z.ZodOptional<z.ZodObject<{ theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }>>; css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>; envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; docs: z.ZodOptional<z.ZodString>; categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { name: string; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }, { name: string; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }>; declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; extends: z.ZodOptional<z.ZodString>; name: z.ZodString; title: z.ZodOptional<z.ZodString>; author: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; registryDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:file", "registry:page"]>; target: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }>, z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>; target: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }>]>, "many">>; tailwind: z.ZodOptional<z.ZodObject<{ config: z.ZodOptional<z.ZodObject<{ content: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }>>; cssVars: z.ZodOptional<z.ZodObject<{ theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }>>; css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>; envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; docs: z.ZodOptional<z.ZodString>; categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; } & { type: z.ZodLiteral<"registry:base">; config: z.ZodOptional<z.ZodObject<{ $schema: z.ZodOptional<z.ZodOptional<z.ZodString>>; style: z.ZodOptional<z.ZodString>; rsc: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; tsx: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; tailwind: z.ZodOptional<z.ZodObject<{ config: z.ZodOptional<z.ZodOptional<z.ZodString>>; css: z.ZodOptional<z.ZodString>; baseColor: z.ZodOptional<z.ZodString>; cssVariables: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; prefix: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>; }, "strip", z.ZodTypeAny, { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }, { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; }>>; iconLibrary: z.ZodOptional<z.ZodOptional<z.ZodString>>; menuColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted"]>>>>; menuAccent: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>>; aliases: z.ZodOptional<z.ZodObject<{ components: z.ZodOptional<z.ZodString>; utils: z.ZodOptional<z.ZodString>; ui: z.ZodOptional<z.ZodOptional<z.ZodString>>; lib: z.ZodOptional<z.ZodOptional<z.ZodString>>; hooks: z.ZodOptional<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }, { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; }>>; registries: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ url: z.ZodEffects<z.ZodString, string, string>; params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }, { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }>]>>>>; }, "strict", z.ZodTypeAny, { tailwind?: { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; } | undefined; $schema?: string | undefined; style?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; aliases?: { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; } | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }, { tailwind?: { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; } | undefined; $schema?: string | undefined; style?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; aliases?: { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; } | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "registry:base"; name: string; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; config?: { tailwind?: { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; } | undefined; $schema?: string | undefined; style?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; aliases?: { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; } | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; } | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }, { type: "registry:base"; name: string; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; config?: { tailwind?: { config?: string | undefined; css?: string | undefined; baseColor?: string | undefined; cssVariables?: boolean | undefined; prefix?: string | undefined; } | undefined; $schema?: string | undefined; style?: string | undefined; rsc?: boolean | undefined; tsx?: boolean | undefined; iconLibrary?: string | undefined; menuColor?: "default" | "inverted" | undefined; menuAccent?: "subtle" | "bold" | undefined; aliases?: { components?: string | undefined; ui?: string | undefined; utils?: string | undefined; lib?: string | undefined; hooks?: string | undefined; } | undefined; registries?: Record<string, string | { url: string; params?: Record<string, string> | undefined; headers?: Record<string, string> | undefined; }> | undefined; } | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }>, z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; extends: z.ZodOptional<z.ZodString>; name: z.ZodString; title: z.ZodOptional<z.ZodString>; author: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; registryDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:file", "registry:page"]>; target: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }>, z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>; target: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }, { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; }>]>, "many">>; tailwind: z.ZodOptional<z.ZodObject<{ config: z.ZodOptional<z.ZodObject<{ content: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }, { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }, { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; }>>; cssVars: z.ZodOptional<z.ZodObject<{ theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }, { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; }>>; css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>; envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; docs: z.ZodOptional<z.ZodString>; categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; } & { type: z.ZodLiteral<"registry:font">; font: z.ZodObject<{ family: z.ZodString; provider: z.ZodLiteral<"google">; import: z.ZodString; variable: z.ZodString; weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }, { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { type: "registry:font"; name: string; font: { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }, { type: "registry:font"; name: string; font: { family: string; provider: "google"; import: string; variable: string; weight?: string[] | undefined; subsets?: string[] | undefined; }; tailwind?: { config?: { content?: string[] | undefined; theme?: Record<string, any> | undefined; plugins?: string[] | undefined; } | undefined; } | undefined; $schema?: string | undefined; css?: Record<string, any> | undefined; extends?: string | undefined; title?: string | undefined; author?: string | undefined; description?: string | undefined; dependencies?: string[] | undefined; devDependencies?: string[] | undefined; registryDependencies?: string[] | undefined; files?: ({ path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; } | { path: string; type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal"; content?: string | undefined; target?: string | undefined; })[] | undefined; cssVars?: { theme?: Record<string, string> | undefined; light?: Record<string, string> | undefined; dark?: Record<string, string> | undefined; } | undefined; envVars?: Record<string, string> | undefined; meta?: Record<string, any> | undefined; docs?: string | undefined; categories?: string[] | undefined; }>, z.ZodObject<{ $schema: z.ZodOptional<z.ZodString>; extends: z.ZodOptional<z.ZodString>; name: z.ZodString; title: z.ZodOptional<z.ZodString>; author: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; registryDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:file", "registry:page"]>; target: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }, { path: string; type: "registry:page" | "registry:file"; target: string; content?: string | undefined; }>, z.ZodObject<{ path: z.ZodString; content: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["registry:lib", "registry:block", "registry:co