import React from 'react';
type UseEscPressedV2ParamsType = {
    ref: React.RefObject<HTMLElement>;
    onEscPress: (event: KeyboardEvent) => void;
    disablePreventDefault?: boolean;
    disableStopPropagation?: boolean;
};
type UseEscPressedV2ReturnType = void;
export declare const useEscPressedV2: ({ ref, onEscPress, disablePreventDefault, disableStopPropagation, }: UseEscPressedV2ParamsType) => UseEscPressedV2ReturnType;
export {};
