/** * 可受控的状态 */ import { SetStateAction } from 'react'; export interface UseControllableValueOptions { value?: T; defaultValue?: T; trigger?: (value: T, ...args: any[]) => void; initialValue?: T | (() => T); postValue?: (value: T) => T; } export declare function useControllableValue(options?: UseControllableValueOptions): readonly [R, (v: SetStateAction, ...args: any[]) => void];