type MouseEventHandler<T extends MouseEvent = MouseEvent> = (event: T) => void;
type MouseOptions = {
    altKey?: boolean;
    ctrlKey?: boolean;
    metaKey?: boolean;
    shiftKey?: boolean;
    exact?: boolean;
};
/** Only triggers handler if the left mouse button is clicked */
export declare function left<T extends MouseEvent, U extends HTMLElement>(handler: MouseEventHandler<T>, options?: MouseOptions): MouseEventHandler<T>;
/** Only triggers handler if the middle mouse button is clicked */
export declare function middle<T extends MouseEvent, U extends HTMLElement>(handler: MouseEventHandler<T>, options?: MouseOptions): MouseEventHandler<T>;
/** Only triggers handler if the right mouse button is clicked */
export declare function right<T extends MouseEvent, U extends HTMLElement>(handler: MouseEventHandler<T>, options?: MouseOptions): MouseEventHandler<T>;
export {};
