import { KeyPattern } from "../../../keyHandler/KeyPattern";
import { IKeyEventListener, IKeyEventListenerObject } from "../../../keyHandler/_types/IKeyEventListener";
/**
 * A handler that catches keyboard up event for modifiers if any other key was pressed since the modifier was activated.
 * Used for making 'shift' toggle selection in menu only if it wasn't used to update the text selection
 * @param modifiers The getter for the modifiers to catch
 * @param listener The listener object to wrap in order to detect whether the modifier was used
 * @returns A new key handler
 */
export declare function setupModifierCatcherHandler(modifiers: () => KeyPattern[], listener: IKeyEventListener): IKeyEventListenerObject;
//# sourceMappingURL=superModifierCatcherHandler.d.ts.map