/**
* CuiTextInput / CuiTextArea Tailwind class composition — shared between the
* React and Vue component libraries. Pure and framework-agnostic.
*
* Both libraries previously duplicated this logic:
* - React → `getInputClasses` / `getTextAreaClasses` (applied to the element)
* - Vue → `useInputTheme` (returns `{ root }` PrimeVue PassThrough)
* The two had drifted (Tailwind v4 shorthand vs bracket syntax, class order, a
* redundant `px-*`). This module is the single canonical definition, using the
* shorthand `bg-(--var)` form. Output is CSS-equivalent to the previous React
* and Vue strings (same set of utilities; class order is irrelevant to the CSS).
*
* Error styling is opt-in via `hasError`: React applies it on the element,
* while Vue defers error visuals to CuiInputWrapper and so passes it false.
*/
export type InputSize = "medium" | "large";
export interface InputClassOptions {
/** Size of the input. Defaults to `medium`. */
size?: InputSize;
/** Readonly inputs get a dashed border + subtle background. */
readOnly?: boolean;
/** Apply the error border / focus treatment (React only; Vue passes false). */
hasError?: boolean;
/** A left icon is present → reserve left inset padding. */
hasLeftIcon?: boolean;
/** A right icon or right-side control is present → reserve right inset padding. */
hasRightInset?: boolean;
}
export interface TextAreaClassOptions {
/** Size of the textarea. Defaults to `medium`. */
size?: InputSize;
/** Readonly textareas get a dashed border + subtle background. */
readOnly?: boolean;
/** Apply the error border / focus treatment (React only; Vue passes false). */
hasError?: boolean;
/** Disable manual resize (used when the textarea auto-grows). */
autoResize?: boolean;
}
/** Build the Tailwind class string for a CuiTextInput's `` element. */
export declare function getInputClasses({ size, readOnly, hasError, hasLeftIcon, hasRightInset, }?: InputClassOptions): string;
/** Build the Tailwind class string for a CuiTextArea's `