import { LayoutBase } from '../system/platform/component/app/Editor/Component';
import { Style } from '../system/platform/Props';
import { Tree } from '../Tree';
import { Dict } from '../types/Dict';
import { Component } from './component';
import { LayoutNode } from './LayoutNode';
import { Size } from './util/geometry';
export declare const reflectStyleTreeTrait: (trait: LayoutNode, tree: Tree<Style>) => Tree<LayoutNode>;
export declare const reflectComponentBaseTrait: (component: Component, base: LayoutBase, style: Style, trait: LayoutNode, measureText: (text: string, fontSize: number) => Size, extractStyle: (leafId: string, component: Component) => Style) => Dict<LayoutNode>;
