import { FormApi } from 'final-form';
export type FieldChangeCallback<T> = (form: FormApi, value: T, prevValue: T) => void;
/**
 * Form helper hook that runs a callback when the value of a field has changed
 * Usefull for creating effects where changes to one field affect the value of another field imperatively
 */
export declare function useFieldChangeListener<T>(name: string, cb: FieldChangeCallback<T>): void;
//# sourceMappingURL=useFieldChangeListener.d.ts.map