import { CSSProperties } from 'vue';

export declare const classNameToArray: (cls?: string) => any;
export declare const hasClass: (el: Element, cls: string) => boolean;
export declare const addClass: (el: Element, cls: string) => void;
export declare const removeClass: (el: Element, cls: string) => void;
/**
 * 获取 CSS 属性的值
 * @param element dom元素
 * @param styleName css prop
 * @returns
 */
export declare const getStyle: (element: HTMLElement, styleName: keyof CSSProperties) => string;
/**
 * 根据style对象获取style文本进行设置
 * @param {CSSStyleDeclaration} styleObj -样式对象
 */
export declare const getCSS: (styleObj?: {}) => any;
/**
 * 创建样式表
 * @param {string} id 样式表id
 * @param {[{className:string, style: CSSStyleDeclaration}]} data 样式对象
 */
declare const createStyle: (id: string, data: any) => any;
/**
 * 修改指定样式表
 * @param id 样式表id
 * @param data 样式对象
 */
declare const updateStyle: (id: string, data: any) => void;
export { createStyle, updateStyle };
