import * as react_jsx_runtime from 'react/jsx-runtime'; import React from 'react'; import { AiSDKError, Severity } from '@vn-sdk/shared'; interface Props { children: React.ReactNode; publicApiKey?: string; showUsageBanner?: boolean; } interface State { hasError: boolean; error?: AiSDKError; status?: { severity: Severity; message: string; }; } declare class AiErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(error: AiSDKError): State; componentDidMount(): void; componentWillUnmount(): void; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | boolean | Iterable | react_jsx_runtime.JSX.Element | null | undefined; } declare function ErrorToast({ error, children }: { error?: Error; children: React.ReactNode; }): React.ReactNode; export { AiErrorBoundary, ErrorToast };