import { ActionType } from 'typesafe-actions';
import * as ACTIONS from '@/store/actions/builder/main';
import { Application, Content, File, FormattedData, Mock, PageContent, RelationDetails, RenderStructureNode, StructureNode, VariableEntity } from '@/types/index';
export declare type BuilderContentActionType = ActionType<typeof ACTIONS>;
declare const reducer: (state: {
    templateOpenInPage: boolean;
    file: File;
    content: Content;
    mock: Mock;
    relations: RelationDetails;
    formattedData: FormattedData;
    pageContent: PageContent;
    pageNode: StructureNode<Record<string, any>> | null;
    extend: PageContent;
    selectedNode: RenderStructureNode | null;
    curStep: number;
    stepCount: number;
    localVariables: VariableEntity[];
    editStatus: boolean;
    toolbarEditorData: any;
    toolbarEditorType: string;
    toolbarEditorVisible: boolean;
    toolbarModalData: any;
    toolbarModalType: string;
    toolbarModalVisible: boolean;
    loading: boolean;
    saveLoading: boolean;
    publishLoading: boolean;
    application: Application | null;
} | undefined, action: BuilderContentActionType) => {
    templateOpenInPage: boolean;
    file: File;
    content: Content;
    mock: Mock;
    relations: RelationDetails;
    formattedData: FormattedData;
    pageContent: PageContent;
    pageNode: StructureNode<Record<string, any>> | null;
    extend: PageContent;
    selectedNode: RenderStructureNode | null;
    curStep: number;
    stepCount: number;
    localVariables: VariableEntity[];
    editStatus: boolean;
    toolbarEditorData: any;
    toolbarEditorType: string;
    toolbarEditorVisible: boolean;
    toolbarModalData: any;
    toolbarModalType: string;
    toolbarModalVisible: boolean;
    loading: boolean;
    saveLoading: boolean;
    publishLoading: boolean;
    application: Application | null;
};
export default reducer;
