import { NamePath } from '@aplus-frontend/antdv/es/form/interface';
import { Ref } from 'vue';
import { ApFormExpose } from '../interface';
type ApFormIns<T> = ApFormExpose<T>;
type WatchOptions<ValueType> = {
    initialValue: ValueType;
};
export declare function useWatch<ValueType = any, StoreType = any>(name: NamePath | Ref<NamePath>, formOrOptions?: Ref<ApFormIns<StoreType> | undefined> | WatchOptions<ValueType>, options?: WatchOptions<ValueType>): Ref<ValueType | undefined, ValueType | undefined>;
export default useWatch;
