//#region src/utils/color.d.ts
type ColorObject = {
  r?: number;
  g?: number;
  b?: number;
  h?: number;
  s?: number;
  v?: number;
  a?: number;
};
/**
 * Converts a color object to a string in `rgb` or `hsv` format.
 *
 * @param color - An object containing values as `rgb` or `hsv` components.
 * @param type - `'rgb'` or `'hsv'` to specify the color model.
 * @param excludeAlpha - Whether to exclude the alpha value in the output.
 * @returns The formatted color string.
 */
declare function colorToString(color: ColorObject, excludeAlpha?: boolean): string;
//#endregion
export { colorToString };