export declare function clamp(min: number, max: number, x: number): number;
type ShortcutOptions = {
    shift?: boolean;
    alt?: boolean;
    cmdOrCtrl?: boolean;
};
export declare function checkModifiers(e: KeyboardEvent | MouseEvent, options?: ShortcutOptions): boolean;
export declare function checkShortcut(e: KeyboardEvent, key: string, options?: ShortcutOptions): boolean;
export declare function checkMouseShortcut(e: MouseEvent, options?: ShortcutOptions): boolean;
export {};
