import { MutableRefObject } from "react";
export declare function useTrackFocus<elmType extends HTMLElement>(props: {
    onFocus: () => void;
    onLoseFocus: () => void;
    ref?: MutableRefObject<elmType>;
}): MutableRefObject<elmType>;
export declare function useWindowSize(): {
    width: number;
    height: number;
};
export declare function useElementSize(elm: HTMLElement): {
    width: number;
    height: number;
};
export declare function useIsInPrint(): boolean;
export declare function useKeyDown(options: {
    elm?: HTMLElement | Document;
    onEnter?: (e: KeyboardEvent) => void;
    onEscape?: (e: KeyboardEvent) => void;
    onKeyDown?: (e: KeyboardEvent) => void;
}): void;
