import * as react_jsx_runtime from 'react/jsx-runtime'; import * as React from 'react'; import { WidgetRootDomProps } from './utils.cjs'; import { AuditLogStreamType } from '../api/endpoint.cjs'; import './elements.cjs'; import '@radix-ui/themes'; import '@radix-ui/themes/props'; import '../dialog-CGXwsXVe.cjs'; import '@radix-ui/themes/components/dialog'; import '../alert-dialog-BMbVcJfZ.cjs'; import '@radix-ui/themes/components/alert-dialog'; import '../dropdown-menu-BQ5LtvdR.cjs'; import '@radix-ui/themes/components/dropdown-menu'; import '../select-KR89Qnvm.cjs'; import '@radix-ui/themes/components/select'; import '@tanstack/react-query'; import '../api/widgets-api-client.cjs'; interface NotConfiguredProps { connectionStatus: "NotConfigured"; } interface InactiveProps { connectionStatus: "Inactive"; destinationType: AuditLogStreamType; } interface ActiveProps { connectionStatus: "Active"; destinationType: AuditLogStreamType; lastSyncedEventId?: string | null; } interface ErrorProps { connectionStatus: "Error"; destinationType: AuditLogStreamType; lastSyncedEventId?: string | null; } type AdminPortalAuditLogStreamingStatusProps = NotConfiguredProps | InactiveProps | ActiveProps | ErrorProps; type AdminPortalAuditLogStreamingProps = WidgetRootDomProps & AdminPortalAuditLogStreamingStatusProps & { adminPortalOpenButton: React.ReactNode; }; declare function AdminPortalAuditLogStreamingButton({ isPending, href, initConfig, }: { isPending: boolean; href: string | null; initConfig: () => void; }): react_jsx_runtime.JSX.Element; declare const AdminPortalAuditLogStreaming: React.FC; interface AdminPortalAuditLogStreamingLoadingProps extends WidgetRootDomProps { } declare const AdminPortalAuditLogStreamingLoading: React.FC; interface AdminPortalAuditLogStreamingErrorProps extends WidgetRootDomProps { error: unknown; } declare const AdminPortalAuditLogStreamingError: React.FC; export { AdminPortalAuditLogStreaming, AdminPortalAuditLogStreamingButton, AdminPortalAuditLogStreamingError, type AdminPortalAuditLogStreamingErrorProps, AdminPortalAuditLogStreamingLoading, type AdminPortalAuditLogStreamingLoadingProps, type AdminPortalAuditLogStreamingProps, type AdminPortalAuditLogStreamingStatusProps };