
//#region src/utils/parseShadow.d.ts
interface ParsedShadow {
  /** Horizontal offset in px. */
  x: number;
  /** Vertical offset in px. */
  y: number;
  /** Blur radius in px. */
  blur: number;
  /** Spread radius in px (always 0 for drop-shadow filter functions). */
  spread: number;
  /** The raw CSS color string (e.g. `rgb(0 0 0 / 0.12)`, `#ff0000`, `red`). */
  color: string;
}
/**
 * Parses a CSS shadow value — which may contain multiple comma-separated
 * layers — into an array of {@link ParsedShadow} objects.
 *
 * @example
 * ```ts
 * parseShadow('0px 4px 8px 0px rgb(0 0 0 / 0.12)')
 * // → [{ x: 0, y: 4, blur: 8, spread: 0, color: 'rgb(0 0 0 / 0.12)' }]
 *
 * parseShadow('0px 4px 8px rgb(0 0 0 / 0.12), 0px 1px 2px rgba(0, 0, 0, 0.08)')
 * // → [
 * //     { x: 0, y: 4, blur: 8, spread: 0, color: 'rgb(0 0 0 / 0.12)' },
 * //     { x: 0, y: 1, blur: 2, spread: 0, color: 'rgba(0, 0, 0, 0.08)' },
 * //   ]
 * ```
 */
declare function parseShadow(shadowValue: string): ParsedShadow[];
//#endregion
export { type ParsedShadow, parseShadow };