import { Action, Thunk, AppState } from "./types"; interface Size { width: number; height: number; } export declare function useUnmountedRef(): { current: boolean; }; export declare function usePromiseValueOrNull(propValue: Promise): T | null; export declare function useScreenSize(): Size; export declare function useWindowSize(): Size; export declare function useIsHovered(): { ref: import("react").Dispatch>; hover: boolean; }; export declare function useOnClickAway(ref: Element | null, callback: null | (() => void)): void; export declare function useTypedSelector(selector: (state: AppState) => T): T; export declare function useActionCreator Action | Thunk>(actionCreator: T): (...funcArgs: Parameters) => void; export declare function useTypedDispatch(): (action: Action | Thunk) => void; export {};