import * as React from 'react'; type UseControllableStateParams = { prop?: T | undefined; defaultProp?: T | undefined; onChange?: (state: T) => void; }; declare function useControllableState({ prop, defaultProp, onChange }: UseControllableStateParams): readonly [T | undefined, React.Dispatch>]; declare function useUncontrolledState({ defaultProp, onChange }: Omit, 'prop'>): [T | undefined, React.Dispatch>]; export { useControllableState, useUncontrolledState as _internaluseUncontrolledState }; //# sourceMappingURL=useControllableState.d.ts.map