import { FunctionN, Lazy } from 'fp-ts/lib/function'; import { PropType, Ref } from 'vue'; export declare function getUseModelPropsDefinition(): { modelValue: { type: PropType; required: false; }; 'onUpdate:modelValue': { type: PropType>; default: Lazy>; }; }; export declare function getUseModelPropsDefinition(valueKey: ValueKey, updateKey: UpdateKey): { [K in ValueKey]: { type: PropType; required: false; }; } & { [K in UpdateKey]: { type: PropType>; default: Lazy>; }; }; export declare type UseModelProps = { [K in ValueKey]?: T | undefined; } & { [K in UpdateKey]: FunctionN<[T], void>; }; export declare function useModel(props: UseModelProps): Model; export declare function useModel(props: UseModelProps, valueKey: ValueKey, updateKey: UpdateKey): Model; export declare type Model = { set: FunctionN<[T], void>; modelValue: Ref; onNativeInput: FunctionN<[Event], void>; };