export default class StyleUtils { static getStrokeAndFill(toolStyle: IToolColorStyle, valid?: boolean, options?: Partial<{ isSelected: boolean; isHover: boolean; }>): { stroke: string; fill: string; }; /** * Transformer Style to String * @param style * @returns */ static getStyle2String(style?: StyleSheetList): string | undefined; /** * Apply a map of styles to an element * * @param {HTMLElement} el The element that the styles will be applied to * @param {Object} styles The map of propName: attribute, both are used as-is * * @return {HTMLElement} el */ static setDOMStyle(el: HTMLElement, styles: any): HTMLElement; }