import { TaplyticsHookMetaData } from '../TaplyticsProvider'; /** * Returns an array containing the variable value and a meta data object. * This hook will run whenever the value of the variable is updated. * * @param name The name of the variable. * @param defaultValue The default value of the variable. * * @returns An array containing the variable value and a meta data object. */ declare function useVariable(name: string, defaultValue: T): [T, TaplyticsHookMetaData]; export default useVariable;