import React from 'react'; export declare function createStreamedValueHook(wrapper: (emitter: (v: T) => void) => (v: T) => void): (value: T) => T; export declare function createStreamedValueBindHook(wrapper: (emitter: (v: T) => void) => (v: T) => void): (value: T, setter: (v: T) => void) => [T, React.Dispatch>]; export declare const useDebounceValueBind: (value: T, setter: (v: T) => void) => [T, React.Dispatch>]; /** * hook of state that change of value will change innerValue inplace, make reduced re-render. * @param value the Value to control */ export declare function useRefControledState(value: T): readonly [T, (value: React.SetStateAction) => void];