import { CaseReducer, PayloadAction } from "@reduxjs/toolkit";
import { BatchUpdateComponentNodeLayoutInfoPayload, UpdateComponentNodeLayoutInfoPayload, UpdateComponentPositionPayload, UpdateComponentSlicePropsPayload } from '../../../redux/currentApp/components/componentsPayload';
import { AddModalComponentPayload, AddSectionViewByConfigPayload, AddSectionViewPayload, AddTargetPageSectionPayload, ComponentMapNode, ComponentTreeNode, ComponentsState, DeleteComponentNodePayload, DeleteCurrentPageStylePayload, DeleteGlobalStatePayload, DeletePageNodePayload, DeleteSectionViewPayload, DeleteSubPageViewNodePayload, DeleteTargetPageSectionPayload, RootComponentNodeProps, SectionViewShape, SetGlobalStatePayload, SortComponentNodeChildrenPayload, UpdateComponentDisplayNamePayload, UpdateComponentNodeHeightPayload, UpdateComponentPropsPayload, UpdateComponentReflowPayload, UpdateCurrentPageStylePayload, UpdateSectionViewPropsPayload, UpdateTargetPageLayoutPayload, UpdateTargetPagePropsPayload, ViewportSizeType } from '../../../redux/currentApp/components/componentsState';
export declare const initComponentReducer: CaseReducer<ComponentsState, PayloadAction<ComponentsState>>;
export declare const addComponentReducer: CaseReducer<ComponentsState, PayloadAction<ComponentTreeNode[]>>;
export declare const addModalComponentReducer: CaseReducer<ComponentsState, PayloadAction<AddModalComponentPayload>>;
export declare const deleteComponentNodeReducer: CaseReducer<ComponentsState, PayloadAction<DeleteComponentNodePayload>>;
export declare const deletePageNodeReducer: CaseReducer<ComponentsState, PayloadAction<DeletePageNodePayload>>;
export declare const sortComponentNodeChildrenReducer: CaseReducer<ComponentsState, PayloadAction<SortComponentNodeChildrenPayload>>;
export declare const updateComponentPropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentPropsPayload>>;
export declare const setComponentPropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentPropsPayload>>;
export declare const updateMultiComponentPropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentPropsPayload[]>>;
export declare const batchUpdateMultiComponentSlicePropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentSlicePropsPayload[]>>;
export declare const updateComponentDisplayNameReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentDisplayNamePayload>>;
export declare const updateComponentPositionReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentPositionPayload>>;
export declare const updateComponentReflowReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentReflowPayload[]>>;
export declare const updateTargetPageLayoutReducer: CaseReducer<ComponentsState, PayloadAction<UpdateTargetPageLayoutPayload>>;
export declare const updateTargetPagePropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateTargetPagePropsPayload>>;
export declare const deleteTargetPageSectionReducer: CaseReducer<ComponentsState, PayloadAction<DeleteTargetPageSectionPayload>>;
export declare const addTargetPageSectionReducer: CaseReducer<ComponentsState, PayloadAction<AddTargetPageSectionPayload>>;
export declare const updateRootNodePropsReducer: CaseReducer<ComponentsState, PayloadAction<Partial<RootComponentNodeProps>>>;
export declare const addPageNodeWithSortOrderReducer: CaseReducer<ComponentsState, PayloadAction<ComponentTreeNode>>;
export declare const addSectionViewHelper: (sectionViewNodeConfig: ComponentTreeNode, sectionViewConfig: SectionViewShape, sectionNode: ComponentMapNode, originChildrenNode?: ComponentTreeNode[]) => void;
export declare const addSectionViewReducer: CaseReducer<ComponentsState, PayloadAction<AddSectionViewPayload>>;
export declare const addSectionViewConfigByConfigReducer: CaseReducer<ComponentsState, PayloadAction<AddSectionViewByConfigPayload>>;
export declare const updateSectionViewPropsReducer: CaseReducer<ComponentsState, PayloadAction<UpdateSectionViewPropsPayload>>;
export declare const deleteSectionViewReducer: CaseReducer<ComponentsState, PayloadAction<DeleteSectionViewPayload>>;
export declare const updateViewportSizeReducer: CaseReducer<ComponentsState, PayloadAction<{
    viewportWidth?: number;
    viewportHeight?: number;
    viewportSizeType?: ViewportSizeType;
}>>;
export declare const resetComponentsReducer: CaseReducer<ComponentsState, PayloadAction>;
export declare const updateComponentNodeHeightReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentNodeHeightPayload>>;
export declare const updateComponentLayoutInfoReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentNodeLayoutInfoPayload>>;
export declare const batchUpdateComponentLayoutInfoWhenReflowReducer: CaseReducer<ComponentsState, PayloadAction<BatchUpdateComponentNodeLayoutInfoPayload[]>>;
export declare const batchUpdateComponentLayoutInfoReducer: CaseReducer<ComponentsState, PayloadAction<UpdateComponentNodeLayoutInfoPayload[]>>;
export declare const setGlobalStateReducer: CaseReducer<ComponentsState, PayloadAction<SetGlobalStatePayload>>;
export declare const deleteGlobalStateByKeyReducer: CaseReducer<ComponentsState, PayloadAction<DeleteGlobalStatePayload>>;
export declare const getNeedDeleteSectionViewDisplayNames: (components: ComponentsState, pageName: string, subPagePath: string) => string[];
export declare const deleteSubPageViewNodeReducer: CaseReducer<ComponentsState, PayloadAction<DeleteSubPageViewNodePayload>>;
export declare const updateSubPagePathReducer: CaseReducer<ComponentsState, PayloadAction<{
    pageName: string;
    subPagePath: string;
    oldSubPagePath: string;
}>>;
export declare const updateDefaultSubPagePathReducer: CaseReducer<ComponentsState, PayloadAction<{
    pageName: string;
    subPagePath: string;
}>>;
export declare const addSubPageReducer: CaseReducer<ComponentsState, PayloadAction<{
    pageName: string;
}>>;
export declare const updateCurrentPageStyleReducer: CaseReducer<ComponentsState, PayloadAction<UpdateCurrentPageStylePayload>>;
export declare const deleteCurrentPageStyleReducer: CaseReducer<ComponentsState, PayloadAction<DeleteCurrentPageStylePayload>>;
