import { clsx } from "clsx"; import type { ClassProp, ClassValue, OmitUndefined, StringToBoolean } from "./types"; export type VariantProps any> = Omit[0]>, "class" | "className">; export type CxOptions = Parameters; export type CxReturn = ReturnType; export declare const cx: typeof clsx; type ConfigSchema = Record>; type ConfigVariants = { [Variant in keyof T]?: StringToBoolean | null | undefined; }; type ConfigVariantsMulti = { [Variant in keyof T]?: StringToBoolean | StringToBoolean[] | undefined; }; type Config = T extends ConfigSchema ? { variants?: T; defaultVariants?: ConfigVariants; compoundVariants?: (T extends ConfigSchema ? (ConfigVariants | ConfigVariantsMulti) & ClassProp : ClassProp)[]; } : never; type Props = T extends ConfigSchema ? ConfigVariants & ClassProp : ClassProp; export declare const cva: (base?: ClassValue, config?: Config | undefined) => (props?: Props | undefined) => string; export {};