import { History } from 'history';
import React, { Component } from 'react';
import { TEditorInstances, TExtendedPageInfo } from '../ThemeEdit';
export declare class ThemeEditActions extends Component<{
    instances: TEditorInstances;
    history: History;
    undoModification: () => void;
    redoModification: () => void;
}, {
    pageOptionsOpen: boolean;
    pageMetaOpen: boolean;
    loadingStatus: boolean;
    isSidebarOpen: boolean;
    pageInfos: TExtendedPageInfo[] | null;
}> {
    private optionsAnchorEl;
    private wrapperRef;
    private hasChangedPageInfo;
    private unregisterBlock;
    private unsavedPrompt;
    undoBtnRef: React.RefObject<HTMLButtonElement>;
    redoBtnRef: React.RefObject<HTMLButtonElement>;
    constructor(props: any);
    componentDidMount(): void;
    componentWillUnmount(): void;
    private getThemeEditor;
    hasUnsavedModifications: () => boolean;
    private init;
    private getPageInfos;
    private handleOptionsToggle;
    private handleMetaToggle;
    private handlePagesToggle;
    private handleAddCustomPage;
    private handlePageInfoChange;
    private handleDeleteCurrentPage;
    private handleDeletePage;
    private handleResetCurrentPage;
    private handleSaveEditingPage;
    private handleOpenPage;
    private undoModification;
    private redoModification;
    private handlePreviewChange;
    render(): JSX.Element;
}
//# sourceMappingURL=ThemeEditActions.d.ts.map