import type { PluginWithOptions } from '../../helpers.js'; import type { KeyValuePairOrList } from '../../types/plugin-types.js'; declare const BUILTIN_PREFIXES: { readonly ui: readonly ['active', 'disabled', 'readonly', 'checked', 'selected', 'indeterminate', 'invalid', 'initial', 'open', 'closed', 'leaving', 'entering', 'animating', 'busy', 'focused', 'complete', 'filled', 'dragging']; readonly 'ui-side': readonly ['left', 'right', 'top', 'bottom']; readonly 'ui-align': readonly ['start', 'end', 'center']; }; type BuiltinPrefixMap = typeof BUILTIN_PREFIXES; type PrefixConfig = string[] | Record | ((builtins: BuiltinPrefixMap) => Record); interface UIVariantsOptions { /** * Configures state-based variant prefixes. * * You can provide: * - An array of prefixes to use their built-in states * - An object mapping each prefix to an array or map of custom states * - A function that receives the built-in prefix map and returns such an object * * Defaults to the `ui` prefix with its built-in states only. * * @example * prefixes: ['ui'] // → `ui-checked:*`, `ui-open:*` using default states * * @example * prefixes: { * ui: ['checked', 'open'], * aria: { expanded: 'expanded', pressed: 'pressed' }, * } */ prefixes?: PrefixConfig; } declare const uiVariants: PluginWithOptions; export type { UIVariantsOptions }; export { uiVariants };