import type { DFormControlInject } from '../components/form'; import type { DraftFunction } from '@react-devui/hooks/useImmer'; export declare function useDValue(initialValue: T | (() => T), value?: T, onChange?: (value: S) => void, deepCompare?: (previous: T, current: S) => boolean, formControlInject?: DFormControlInject): [T, (arg: S | DraftFunction) => S];