import type { FirebaseRestError } from './firebase-types.js'; import { FirebaseEdgeError } from './errors.js'; /** * Maps Firebase REST API errors to structured FirebaseEdgeError instances. * This function analyzes the Firebase error codes and HTTP status codes to determine * the most appropriate structured error type. * * Firebase errors come with specific error codes in the message field (e.g., USER_NOT_FOUND) * and additional details in the errors array with reason codes. * * @param firebaseError - The error object from Firebase REST API * @returns A structured FirebaseEdgeError instance */ export declare function mapFirebaseError(firebaseError: FirebaseRestError['error']): FirebaseEdgeError; //# sourceMappingURL=auth-endpoint-errors.d.ts.map