import type { FieldValue, SugaredRelativeSingleField } from '@contember/binding'; /** * Derived fields are meant for cases when the user is expected to primarily edit the `sourceField` whose optionally * transformed value is then copied to the `derivedField`. This happens after each update until either the `derivedField` * is touched or until it is persisted at which point the tie between the fields is automatically severed. * @deprecated This is fundamentally wrong and shouldn't be used for now. */ export declare const useDerivedField: (sourceField: string | SugaredRelativeSingleField, derivedField: string | SugaredRelativeSingleField, transform?: (sourceValue: SourceValue | null) => SourceValue | null, agent?: string) => void; //# sourceMappingURL=useDerivedField.d.ts.map