import { ErrorCode, AuthErrorResponse } from '@tern-secure/types'; declare class TernSecureError extends Error { code: ErrorCode; constructor(code: ErrorCode, message?: string); } /** * Handles Firebase authentication errors with multiple fallback mechanisms */ declare function handleFirebaseAuthError(error: unknown): AuthErrorResponse; /** * Type guard to check if a response is an AuthErrorResponse */ declare function isAuthErrorResponse(response: unknown): response is AuthErrorResponse; declare function getErrorAlertVariant(error: any | undefined): "destructive" | "default"; export { TernSecureError, getErrorAlertVariant, handleFirebaseAuthError, isAuthErrorResponse };