
//#region src/tasty/parser/types.d.ts
/**
 * A part within a group, representing a slash-separated segment.
 * For example, in `'2px solid #red / 4px'`, there are two parts:
 * - Part 0: `2px solid #red`
 * - Part 1: `4px`
 */
interface StyleDetailsPart {
  mods: string[];
  values: string[];
  colors: string[];
  all: string[];
  output: string;
}
/**
 * A group of style details, representing a comma-separated segment.
 * Contains aggregated values from all parts for backward compatibility,
 * plus the structured `parts` array for handlers that need slash separation.
 */
interface StyleDetails {
  input: string;
  output: string;
  /** Aggregated mods from all parts (backward compatible) */
  mods: string[];
  /** Aggregated values from all parts (backward compatible) */
  values: string[];
  /** Aggregated colors from all parts (backward compatible) */
  colors: string[];
  /** Aggregated all tokens from all parts (backward compatible) */
  all: string[];
  /** Slash-separated parts within this group */
  parts: StyleDetailsPart[];
}
type UnitHandler = (scalar: number) => string;
//#endregion
export { StyleDetails, UnitHandler };
//# sourceMappingURL=types.d.ts.map