import * as graphicUtil from '../../util/graphic.js'; import Model from '../Model.js'; import { LabelOption, ColorString } from '../../util/types.js'; export declare type LabelFontOption = Pick; declare type LabelRectRelatedOption = Pick & LabelFontOption; declare class TextStyleMixin { /** * Get color property or get color from option.textStyle.color */ getTextColor(this: Model, isEmphasis?: boolean): ColorString; /** * Create font string from fontStyle, fontWeight, fontSize, fontFamily * @return {string} */ getFont(this: Model): string; getTextRect(this: Model & TextStyleMixin, text: string): graphicUtil.BoundingRect; } export default TextStyleMixin;