import * as React from 'react'; export declare function useControllableProp(propValue: T | undefined, stateValue: T): readonly [boolean, T]; export interface UseControllableStateProps { value?: T; defaultValue?: T | (() => T); onChange?: (nextValue: T) => void; shouldUpdate?: (prevState: T, state: T) => boolean; name?: string; propsMap?: { value?: string; defaultValue?: string; onChange?: string; }; } export declare function useControllableState(props: UseControllableStateProps): [T, React.Dispatch>];