import { Style } from 'sketch-constructor'; import { FontWeightProperty } from 'csstype'; /** 平方字体文本的粗细映射 */ export declare const pingFangSCWeightMapping: { [key: string]: FontWeightProperty | undefined; }; export declare class FontStyles { private style; constructor(style: Style); getFontSize(): number; getFontColor(): string; getFontFamily(): string; getLineHeight(): number; getTextShadow(): string | undefined; getLetterSpacing(): number; getFontKerning(): number; getFontWight(): number | "" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "bold" | "normal" | "bolder" | "lighter"; }