export default useRunEffectWhen; declare function useRunEffectWhen(effect: any, when: any): void;