import type { OmitUndefined, StyledComponentProps } from '../types/styled.types'; type StringToBoolean = T extends 'true' | 'false' ? boolean : T; type ConfigSchema = Record>; export type VariantProps any> = Omit[0]>, 'tw' | 'className'>; export type VariantsConfig = T extends ConfigSchema ? { base?: string; variants?: T; defaultVariants?: ConfigVariants; } : never; export type ConfigVariants = T extends ConfigSchema ? { [Variant in keyof T]?: StringToBoolean | null; } : unknown; type VariantsFnProps = T extends ConfigSchema ? ConfigVariants & StyledComponentProps : StyledComponentProps; export declare const createVariants: (config: VariantsConfig) => (props?: VariantsFnProps | undefined) => string; export {};