ef93b25295063cc22618c8619182acdf3b0ad3015a93e5a33af702e8a9ad5f4a7b9d0cdd73796f6901ef3b6f1ee1a76817e3fe56ddf00554626735468cd163 375 B

1234567891011
  1. import Color from '../utils/color';
  2. type CommonColorProps = {
  3. modelValue?: string | null;
  4. showAlpha: boolean;
  5. colorFormat?: string;
  6. };
  7. type CommonColorEmits = (event: 'update:modelValue', ...args: any[]) => void;
  8. export declare const useCommonColor: <P extends CommonColorProps, E extends CommonColorEmits>(props: P, emit: E) => {
  9. color: Color;
  10. };
  11. export {};