import { Alert } from '@heroui/react'; import { Component, ComponentProps, ReactNode } from 'react'; export interface AuthUiContainedErrorProps { className?: string; /** When true, skip the outer Card (already inside a settings/auth surface). */ embedded?: boolean; error?: unknown; isResetPending?: boolean; message?: ReactNode; onReset?: () => void; resetLabel?: ReactNode; title?: ReactNode; } export type AuthUiErrorBoundaryFallback = (args: { error: unknown; reset: () => void; }) => ReactNode; interface AuthUiErrorBoundaryProps { children: ReactNode; className?: string; fallback?: AuthUiErrorBoundaryFallback; message?: ReactNode; surface?: string; title?: ReactNode; } interface AuthUiErrorBoundaryState { error: unknown; } export declare function AuthUiContainedErrorResetButton({ className, isPending, onReset, resetLabel }: { className?: string; isPending?: boolean; onReset: () => void; resetLabel?: ReactNode; }): import("react").JSX.Element; export declare function AuthUiContainedAlert({ action, className, description, status, title }: { action?: ReactNode; className?: string; description: ReactNode; status?: ComponentProps["status"]; title: ReactNode; }): import("react").JSX.Element; export declare function AuthUiContainedError({ className, embedded, error, isResetPending, message, onReset, resetLabel, title }: AuthUiContainedErrorProps): import("react").JSX.Element; export declare class AuthUiErrorBoundary extends Component { state: AuthUiErrorBoundaryState; static getDerivedStateFromError(error: unknown): AuthUiErrorBoundaryState; reset: () => void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react").JSX.Element | null | undefined; } export {};