import Actions from '../actions'; import Store from '../store'; export declare type Action = Actions.CreateComponentState | Actions.RemoveComponentState | Actions.Action; export declare type State = Store.UI; export default function updateUi(state: State, { type, payload, meta }: Action): State; export declare const createComponentState: (state: Store.UI, { tagName, id, state: tagState }: Actions.Payload.Component.State) => { [x: string]: { [tagId: number]: any; global?: any; } | { global?: any; }; }; export declare const removeComponentState: (state: Store.UI, { tagName, id }: Actions.Payload.Component.Identifier) => { [x: string]: {}; }; export declare const clearComponentState: (state: Store.UI) => Store.UI;