import type { FieldPath } from '../field-path.js'; import type { FirestoreValue } from './types.js'; type FieldPathInput = string | FieldPath; type FieldTransform = { fieldPath: string; setToServerValue: 'REQUEST_TIME'; } | { fieldPath: string; appendMissingElements: { values: FirestoreValue[]; }; } | { fieldPath: string; removeAllFromArray: { values: FirestoreValue[]; }; } | { fieldPath: string; increment: FirestoreValue; } | { fieldPath: string; maximum: FirestoreValue; } | { fieldPath: string; minimum: FirestoreValue; }; export type EncodedDocumentWrite = { fields: Record; updateMaskFieldPaths?: string[]; updateTransforms?: FieldTransform[]; }; export declare function encodeSetData(options: { data: Record; merge: boolean; mergeFields?: readonly FieldPathInput[]; ignoreUndefinedProperties: boolean; }): EncodedDocumentWrite; export declare function encodeUpdateData(options: { data: Record; ignoreUndefinedProperties: boolean; }): EncodedDocumentWrite; export {}; //# sourceMappingURL=write-encoding.d.ts.map