/** * Copyright IBM Corp. 2025, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ type Callback = (value: T) => void; /** * handles controlling state for any component that utilizes controlled and uncontrolled state * @param {T} value - any generic value being held in state * @param {Callback} onChange - a callback function to handle state change when the user puts the component in a controlled state * @returns {[value: T, Callback]} */ export declare function useControllableState(value: T, onChange?: Callback): [T, Callback]; export {}; //# sourceMappingURL=useControllableState.d.ts.map