import { TermElement } from '../dom/Element'; import { StyleHandler, StyleValue } from '../dom/StyleHandler'; export type StyleKey = keyof StyleValue; export interface StyleProperty { parsers: any[]; triggers?: ((node?: TermElement, newValue?: any, oldValue?: any) => void)[]; initial: any; default?: any; } export declare let styles: { [key: string]: StyleProperty; }; export interface ComputedStyle { /** The name of the computed style. */ name: string; /** A list of style keys that this computed style depdends on. */ inKeys?: string[]; /** A list of style keys that this computed style will produce. */ outKeys?: string[]; func: (style: StyleHandler, value: any) => StyleValue; } export declare const computedStyles: { [name: string]: ComputedStyle; }; export declare function isComputedStyle(key: string): boolean;