import React from "react";
/**
 * A hook for listening to key arrow events.
 * @returns an object containing the factor state, a callback for altering
 * the state, and a ref that is used to attach the event listener used for
 * keyboard events.
 */
export declare const useScaleFactor: (initialValue?: number) => {
    factor: number;
    setFactor: React.Dispatch<React.SetStateAction<number>>;
    elementRef: React.RefObject<HTMLElement>;
};
export declare function useShiftHeld(): {
    divRef: React.MutableRefObject<null>;
    shiftHeld: boolean;
};
