export declare type UseState = (initialState: T | (() => T)) => [T, (newState: T) => void]; export declare const useState: UseState; export declare type UseEffect = (didUpdate: () => ((() => void) | void), params?: any[]) => void; export declare const useEffect: UseEffect; export interface ReactRef { current: T; } export declare type UseRef = (initialValue: T) => ReactRef; export declare const useRef: UseRef; export declare type UseCallback = any)>(callback: T, args: any[]) => T; export declare const useCallback: UseCallback; export declare type UseMemo = (fn: Function, args: any[]) => T; export declare const useMemo: UseMemo;