import { FirestoreFieldValue } from './types'; /** * Helper function to convert plain JS object to Firestore format * @param obj - The plain JS object to convert * @returns The Firestore format object */ export declare function toFirestoreFormat(value: any): FirestoreFieldValue; export declare function serializeDocument(obj: Record): { fields: { [key: string]: FirestoreFieldValue; }; }; /** * Helper function to convert Firestore format object to plain JS object * @param value - The Firestore format object to convert * @returns The plain JS object */ export declare function fromFirestore(value: unknown): T; /** * Helper function to verify that a segment of a firestore path is a string * @param x - The value to verify * @throws An error if the value is not a string */ export declare function verifySegment(x: unknown): asserts x is string; export declare function extractFieldPaths(fields: { [key: string]: FirestoreFieldValue; }, parentPath?: string): string[];