UNPKG

769 BTypeScriptView Raw
1import type { CSSProperty } from '../CSSProperty';
2import type { DisplayObject } from '../../display-objects';
3import { parseColor, mergeColors } from '../parser';
4import type { CSSGradientValue } from '../cssom';
5import { CSSKeywordValue, CSSRGB } from '../cssom';
6import type { StyleValueRegistry } from '../interfaces';
7/**
8 * opacity
9 */
10export declare class CSSPropertyColor implements Partial<CSSProperty<CSSRGB | CSSGradientValue | CSSKeywordValue, CSSRGB | CSSGradientValue>> {
11 parser: typeof parseColor;
12 calculator(name: string, oldParsed: CSSRGB | CSSGradientValue | CSSKeywordValue, parsed: CSSRGB | CSSGradientValue | CSSKeywordValue, object: DisplayObject, registry: StyleValueRegistry): CSSRGB | CSSGradientValue;
13 mixer: typeof mergeColors;
14}