import { z } from "zod"; export declare const deprecatedCLIOptions: { readonly outDir: "out-dir"; readonly clean: "clean"; readonly tailwind: "tailwind"; readonly theme: { readonly colors: { readonly main: "main-colors"; readonly support: "support-colors"; readonly neutral: "neutral-color"; }; readonly typography: { readonly fontFamily: "font-family"; }; readonly borderRadius: "border-radius"; }; }; /** * Validates a configuration object against a provided Zod schema. * * Populates default values from the schema and returns the validated configuration object. * * @template T - The expected type of the validated configuration. * @param schema - A Zod schema used to validate the configuration object. * @param unvalidatedConfig - The configuration object to validate. * @returns The validated configuration object, typed as T. * @throws Throws an Error with a friendly, user-facing validation message if validation fails. */ export declare function validateConfig(schema: z.ZodType, unvalidatedConfig: Record): T; /** * Parses a JSONC string (JSON with comments and trailing commas). * * @template T - The expected type of the parsed value. * @param content - The JSONC string to parse. * @returns The parsed value, typed as T. * @throws SyntaxError if the content contains syntax errors. */ export declare function parseJsonc(content: string): T; export declare function parseConfig(configFile: string): T;