import { type MutableRefObject } from 'react'; /** * Wraps callback functions with error handling to show error boundary on exceptions * * Note: The user defined callbacks (such as onChange) are called inside the transaction filter of the configuration effect. * To always call the most recent function, we need to store it in a ref and use the current value when invoking the function. * @internal */ export declare const useUpdatableCallback: void>(fn?: T) => MutableRefObject;