/// <reference types="react" />
import { Element } from "easy-email-pro-core";
import { Path } from "slate";
export declare const useLastSelectedNode: () => {
    lastSelectedNode: import("react").MutableRefObject<Element | null | undefined>;
    isChanged: boolean;
};
export declare const useCopyBlock: () => (path: Path) => void;
export declare const useAddBlock: () => (block: Partial<Element> & {
    type: Element["type"];
}, path: Path, toNext?: boolean) => void;
export declare const useMoveUp: () => (path: Path) => Path | undefined;
export declare const useMoveDown: () => (path: Path) => Path | undefined;
export declare const useDeleteBlock: () => (path: Path) => void;
export declare const useClearCanvas: () => () => void;
export declare const useResetSelectedNode: () => () => void;
export declare const useElementInteract: () => {
    copyBlock: (path: Path) => void;
    deleteBlock: (path: Path) => void;
    clearCanvas: () => void;
    isChanged: boolean;
    resetSelectedNode: () => void;
    moveUp: (path: Path) => Path | undefined;
    moveDown: (path: Path) => Path | undefined;
    addBlock: (block: Partial<Element> & {
        type: Element["type"];
    }, path: Path, toNext?: boolean) => void;
};
