import React from "react"; import { IToolComponentProps } from "./types/IComponentTool"; /** * Reacts to dependencies change once the component is mounted * Equivalent to componentDidUpdate function in 'class components' schema */ export declare const useDidUpdateEffect: (func: () => void, dependencies?: React.DependencyList | undefined) => void; /** * Default behavior for component properties * Emits onToolChange callback on component mount or any dependency update */ export declare const useToolEffect: (props: TProps, dependencies?: React.DependencyList | undefined) => void; /** * Reacts to 'enabled' property changes */ export declare const useDidToolEnabledUpdate: (props: TProps, dependencies?: React.DependencyList | undefined) => void; /** * Reacts to tool identificator changes while providing validation and keeping the previous value */ export declare const useDidToolIdUpdate: (props: TProps, dependencies?: React.DependencyList | undefined) => void;