/// import type { IObjectAny } from '../typings/common'; import type { ICore } from '../typings/core'; import type { IChangeEvent } from '../typings/rootContext'; /** * 表单 value 受控与非受控模式支持 * 需要考虑【多渲染器内部 onChange 初始化值】场景,参考 952 调试文档 * @param props 内核参数 */ export default function useCoreValue(props: ICore): { value: IObjectAny; valueRef: import("react").MutableRefObject; onChange: (event: IChangeEvent) => void; getValue: () => IObjectAny; setValue: (nextValue: IObjectAny) => void; resetValue: () => void; };