import { z } from 'zod'; declare const registryItemSchema: z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"registry:component">; description: z.ZodString; files: z.ZodArray; target: z.ZodOptional; encoding: z.ZodOptional; content: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }>, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }>, "many">; category: z.ZodEnum<["ui", "example"]>; registryDependencies: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }, { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }>; declare const registrySchema: z.ZodObject<{ name: z.ZodString; items: z.ZodArray; description: z.ZodString; files: z.ZodArray; target: z.ZodOptional; encoding: z.ZodOptional; content: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }>, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }, { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }>, "many">; category: z.ZodEnum<["ui", "example"]>; registryDependencies: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }, { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { name: string; items: { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }[]; }, { name: string; items: { name: string; type: "registry:component"; description: string; files: { path: string; type: "registry:component" | "registry:file"; target?: string | undefined; encoding?: string | undefined; content?: string | undefined; }[]; category: "ui" | "example"; registryDependencies?: string[] | undefined; }[]; }>; type RegistryItem = z.infer; type Registry = z.infer; declare function loadLocalRegistry(): Registry; declare function getAllRegistryItems(): RegistryItem[]; declare function getRegistryItem(name: string): RegistryItem | undefined; declare function loadRegistryItemWithContent(name: string): RegistryItem; export { type Registry, type RegistryItem, getAllRegistryItems, getRegistryItem, loadLocalRegistry, loadRegistryItemWithContent, registrySchema };