import { FieldRun, FieldValue, RelationshipProps, TextBlock } from "@itwin/core-common";
import { IModelDb } from "../../IModelDb";
import { Id64String } from "@itwin/core-bentley";
export interface UpdateFieldsContext {
    readonly hostElementId: Id64String;
    getProperty(field: FieldRun): FieldValue | undefined;
}
export declare function createUpdateContext(hostElementId: string, iModel: IModelDb, deleted: boolean): UpdateFieldsContext;
export declare function updateField(field: FieldRun, context: UpdateFieldsContext): boolean;
export declare function updateFields(textBlock: TextBlock, context: UpdateFieldsContext): number;
export declare function updateElementFields(props: RelationshipProps, iModel: IModelDb, deleted: boolean): void;
//# sourceMappingURL=fields.d.ts.map