import { ClassValue, clsx } from '../cn/clsx'; import { ClassProp, OmitUndefined, StringToBoolean } from './types'; export type VariantProps unknown> = Omit[0]>, "class" | "className">; export type CxOptions = Parameters; export type CxReturn = ReturnType; 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) => (props?: Props) => string; export {}; //# sourceMappingURL=cva.d.ts.map