import { BuilderRightPanelType } from '../store/app-slice';
import { Dispatch, ReactNode, SetStateAction } from 'react';

export type ActionContextType = {
    save: () => void;
    isSaving: boolean;
    duplicate: (blockId: string) => void;
    pasteFromClipboard: ({ blockId }: {
        blockId: string;
    }) => void;
    getPlatformSpecificCopyShortcut: () => string;
    getPlatformSpecificPasteShortcut: () => string;
    getPlatformSpecificSaveShortcut: () => string;
    isLeftPanelOpen: boolean;
    setIsLeftPanelOpen: Dispatch<SetStateAction<boolean>>;
    activeRightPanel: BuilderRightPanelType | null;
    toggleRightPanel: (panel: BuilderRightPanelType) => void;
    getClipboardData: () => Promise<any>;
    isUndoable: boolean;
    isRedoable: boolean;
    undo: () => void;
    redo: () => void;
};
export declare const ActionContext: import('react').Context<ActionContextType | undefined>;
export declare const ActionProvider: ({ children }: {
    children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useActionContext: () => ActionContextType;
//# sourceMappingURL=action-context.d.ts.map