import type { ApplyFieldPatchCommandPayload, SerializableField } from "../bridge/protocol";
import type { Field } from "../pageModel";
type ActiveBridgeInlineEdit = {
    elementKey: string;
    value?: string;
};
type BridgePatchDisplayValue = {
    source: ApplyFieldPatchCommandPayload["source"];
    value: string;
};
export declare function isBridgePatchableTextField(field: Pick<Field, "type">, isRichText: boolean | undefined): boolean;
export declare function getBridgeFieldPatchValue(field: Pick<Field, "rawValue" | "value">): string;
export declare function buildBridgeFieldPatchPayload({ field, structureField, display, activeInlineEdit, }: {
    field: Field;
    structureField: SerializableField;
    display: BridgePatchDisplayValue;
    activeInlineEdit: ActiveBridgeInlineEdit | null | undefined;
}): ApplyFieldPatchCommandPayload | undefined;
export {};
