import Store from '@mjcloud/redux'; import { IState } from '@mjcloud/redux'; import { IControlBaseProps } from '../base'; import { XmlList, ControlConfig, IControlSetConfig } from '@mjcloud/types'; import { IConfigStartLoadParams, IInitialStateParams } from '@mjcloud/redux'; import { ContainerControlActionType } from '@mjcloud/instance/dist/containerInstanceBase'; export declare type ToolbarThemeType = 'normal' | 'big'; export interface IToolbarConfigArea { padding?: number; controls?: XmlList; } export interface IToolbarConfigAreas { left?: IToolbarConfigArea; right?: IToolbarConfigArea; } export interface IToolbarConfig extends IControlSetConfig { styleName: ToolbarThemeType; areas?: IToolbarConfigAreas; } export interface IToolbarConfigStartLoadParams extends IConfigStartLoadParams { } export interface IToolbarInitialStateParams extends IInitialStateParams { leftControls: Store[]; rightControls: Store[]; leftFCs: IControlBaseProps[]; rightFCs: IControlBaseProps[]; } export interface IToolbarStateArea { padding: number; controls: Store[]; ChildrenControls: IControlBaseProps[]; } export interface IToolbarState extends IState { theme: ToolbarThemeType; areas: { left?: IToolbarStateArea; right?: IToolbarStateArea; }; } export declare type ToolbarActionType = ContainerControlActionType; export declare type ToolbarEventType = '';