import { type UpdateData } from 'firebase/firestore'; /** * Throws an error indicating the current Firestore driver does not support the called function. * Used by driver implementations to reject unsupported operations at runtime. * * @param message - Optional custom error message * @throws {Error} Always throws */ export declare function unsupportedFirestoreDriverFunctionError(message?: string): void; /** * Asserts that the input update data contains at least one key. * * The `google-cloud/firestore` Admin SDK throws on empty update objects, but the Web SDK * does not. This assertion normalizes behavior across both platforms so that empty updates * are caught early regardless of which driver is in use. * * @param data - The update data to validate * @throws {Error} When the data object has no keys */ export declare function assertFirestoreUpdateHasData(data: UpdateData): void; /** * Creates and throws an error for empty update data passed to a {@link FirestoreDocumentDataAccessor}'s `update()` method. * * @throws {Error} Always throws */ export declare function firestoreUpdateWithNoDataError(): void;