import { Ref, UnwrapRef } from 'vue';
export declare function useFormState<Source, D extends Record<string, unknown>>(source: Ref<Source>, fromSource: (source: Source) => D, update: (data: UnwrapRef<D>) => void): {
    data: UnwrapRef<D>;
    changed: boolean;
};
