import type { RefObject } from 'react';
type UseHistoryShortcutsOptions = {
    rootRef: RefObject<HTMLElement | null>;
    enabled?: boolean;
    canUndo: () => boolean;
    canRedo: () => boolean;
    onUndo: () => void;
    onRedo: () => void;
};
export declare function useHistoryShortcuts({ rootRef, enabled, canUndo, canRedo, onUndo, onRedo, }: UseHistoryShortcutsOptions): void;
export {};
