import type { PrefixStyleProps } from '../core'; /** * 对给定HTML对象应用给定样式 * @param style {[key: string]: Object} * 样式表参考结构 * { * '.selector': { * 'attrName': 'attr', * 'padding': '0 0 0 0', * 'background-color': 'red' * } * } */ export declare function applyStyleSheet(element: HTMLElement, style: { [key: string]: Object; }): void; export declare function subStyleProps>(style: Record, prefix: string, invert?: boolean): T; export declare function superStyleProps, P extends string>(style: T, prefix: P): PrefixStyleProps; /** * extract group style from mixin style * @param style * @param ignoreStyleDict style will be ignore from style * @returns shape style and rest style */ export declare function splitStyle(style: { [keys: string]: any; }, ignoreStyleDict?: string[]): { [keys: string]: any; }[];