import { type SetStateAction, type Dispatch } from 'react'; /** @internal */ export interface useControllableStateProps { /** The controlled value to be used */ value?: T; /** The default value to be used when uncontrolled*/ defaultValue?: T | (() => T); /** The callback fired when the value changes */ onChange?: (value: T) => void; } /** * @internal * React hook for using controlling component state. */ export declare function useControllableState(props: useControllableStateProps): [T, Dispatch>];