//#region src/react/utils/use-controllable-state.d.ts /** * Tiny controlled/uncontrolled state helper. * If `controlled` is defined, it's used as the value. Otherwise, internal state manages it. * `onChange` is always called when `setValue` is invoked. */ declare function useControllableState(controlled: T | undefined, uncontrolled: T, onChange?: (val: T) => void): [T, (val: T) => void]; //#endregion export { useControllableState };