import { CSSProperties } from 'react'; import cx from 'clsx'; import { ContextStylesParams, FlowindSize, FlowindTheme } from '../../types'; export interface UseStylesOptions { classNames?: Partial> | ((theme: FlowindTheme, params: any, context: ContextStylesParams) => Partial>); styles?: Partial> | ((theme: FlowindTheme, params: any, context: ContextStylesParams) => Partial>); name: string | string[]; unstyled?: boolean; variant?: string; size?: FlowindSize; } interface Variations { variant?: string; size?: FlowindSize; } interface InputType { classes?: Record; styles?: Record; } export declare function createStyles = NonNullable, Input extends InputType = InputType>(input: ((theme: FlowindTheme, params: Params, variations: Variations) => Input) | Input): (params: Params, options?: UseStylesOptions) => { classes: { [key in keyof Input["classes"]]: string; }; cx: typeof cx; theme: FlowindTheme; styls: { [key_1 in keyof Input["styles"]]: CSSProperties; }; }; export {};