
//#region src/tasty/utils/styles.d.ts
type StyleValue<T = string> = T | boolean | number | null | undefined;
type StyleValueStateMap<T = string> = {
  [key: string]: StyleValue<T>;
};
type CSSMap = {
  $?: string | string[];
} & {
  [key: string]: string | string[];
};
type StyleHandlerResult = CSSMap | CSSMap[] | void;
type RawStyleHandler = (value: StyleValueStateMap) => StyleHandlerResult;
/**
 * Handler definition forms for configure() and plugins.
 * - Function only: lookup styles inferred from key name
 * - Single property tuple: ['styleName', handler]
 * - Multi-property tuple: [['style1', 'style2'], handler]
 */
type StyleHandlerDefinition = RawStyleHandler | [string, RawStyleHandler] | [string[], RawStyleHandler];
//#endregion
export { StyleHandlerDefinition, StyleValue, StyleValueStateMap };
//# sourceMappingURL=styles.d.ts.map