import * as React from 'react'; interface UseControllableStateProps { value?: T; defaultValue?: T | (() => T); onChange?: (value: T) => void; } /** * A hook that manages controllable state. * * If a `value` is provided, it is considered controlled and the component * using this hook should rely on that `value` rather than internal state. * * If no `value` is provided, it manages its own internal state starting * from `defaultValue`. */ export declare function useControllableState({ value: valueProp, defaultValue, onChange, }: UseControllableStateProps): [T, React.Dispatch>]; export {};