import { IAction } from '@edifice.io/client';
export default function useActionBar(): {
    onRestore: () => Promise<void>;
    actions: IAction[] | undefined;
    selectedElement: (import('@edifice.io/client').IResource | import('@edifice.io/client').IFolder)[];
    currentFolderId: string | undefined;
    overrideLabel: (action: IAction) => string;
    handleClick: (action: IAction) => Promise<void>;
    isActivable: (action: IAction) => boolean;
    isActionBarOpen: boolean;
    isMoveModalOpen: boolean;
    onMoveCancel: () => void;
    onMoveSuccess: () => void;
    isDeleteModalOpen: boolean;
    onDeleteCancel: () => void;
    onDeleteSuccess: () => void;
    isPublishModalOpen: boolean;
    onPublishCancel: () => void;
    onPublishSuccess: () => void;
    isEditFolderOpen: boolean;
    onEditFolderCancel: () => void;
    onEditFolderSuccess: () => void;
    isEditResourceOpen: boolean;
    onEditResourceCancel: () => void;
    onEditResourceSuccess: () => void;
    isShareResourceOpen: boolean;
    onShareResourceCancel: () => void;
    onShareResourceSuccess: () => void;
    isExportModalOpen: boolean;
    onExportCancel: () => void;
    onExportSuccess: () => void;
    onClearActionBar: () => void;
};
