UNPKG

967 BTypeScriptView Raw
1import { useState as _useState, useReducer as _useReducer, useRef as _useRef, useEffect as _useEffect, useImperativeHandle as _useImperativeHandle, useLayoutEffect as _useLayoutEffect, useCallback as _useCallback, useMemo as _useMemo, useContext as _useContext, useDebugValue as _useDebugValue, useErrorBoundary as _useErrorBoundary } from "preact/hooks";
2export declare const useState: typeof _useState;
3export declare const useReducer: typeof _useReducer;
4export declare const useRef: typeof _useRef;
5export declare const useEffect: typeof _useEffect;
6export declare const useImperativeHandle: typeof _useImperativeHandle;
7export declare const useLayoutEffect: typeof _useLayoutEffect;
8export declare const useCallback: typeof _useCallback;
9export declare const useMemo: typeof _useMemo;
10export declare const useContext: typeof _useContext;
11export declare const useDebugValue: typeof _useDebugValue;
12export declare const useErrorBoundary: typeof _useErrorBoundary;