export interface UseControlledProps { /** * Holds the component value when it's controlled. */ controlledValue?: Value; /** * The default value when uncontrolled. */ defaultValue?: Value; /** * The component name displayed in warnings. */ name: string; /** * The name of the state variable displayed in warnings. * @default 'value' */ state?: string; } declare const useControlledValue: (props: UseControlledProps) => [undefined | Value, (newValue: Value) => void]; export default useControlledValue;