import * as react_jsx_runtime from 'react/jsx-runtime'; import * as _backstage_core_plugin_api from '@backstage/core-plugin-api'; import { PropsWithChildren } from 'react'; /** * Lightspeed Plugin * @public */ declare const lightspeedPlugin: _backstage_core_plugin_api.BackstagePlugin<{ root: _backstage_core_plugin_api.RouteRef; lightspeedConversation: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/conversation/:conversationId">>; lightspeedNotebooks: _backstage_core_plugin_api.SubRouteRef; lightspeedNotebookView: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/notebooks/:notebookId">>; }, {}, {}>; /** * Lightspeed Page Router * @public */ declare const LightspeedPage: () => react_jsx_runtime.JSX.Element; /** * Lightspeed Drawer Provider * * @public */ declare const LightspeedDrawerProvider: React.ComponentType; /** * @public * Lightspeed Icon */ declare const LightspeedIcon: () => react_jsx_runtime.JSX.Element; /** * @public * Lightspeed Floating action button to open/close the lightspeed chatbot */ declare const LightspeedFAB: () => react_jsx_runtime.JSX.Element | null; /** * @public */ declare const LightspeedChatContainer: () => react_jsx_runtime.JSX.Element; /** * @public * Partial Lightspeed drawer state exposed to the ApplicationDrawer */ type DrawerState = { id: string; isDrawerOpen: boolean; drawerWidth: number; setDrawerWidth: (width: number) => void; closeDrawer: () => void; }; /** * @public * Props for drawer state exposer components */ type DrawerStateExposerProps = { /** * Callback called whenever the drawer state changes */ onStateChange: (state: DrawerState) => void; }; /** * @public * This exposes LightspeedDrawer's partial context to the ApplicationDrawer * * It reads the LightspeedDrawerContext and calls the onStateChange callback with the * partial state (id, isDrawerOpen, drawerWidth, setDrawerWidth). */ declare const LightspeedDrawerStateExposer: ({ onStateChange, }: DrawerStateExposerProps) => null; export { type DrawerState, type DrawerStateExposerProps, LightspeedChatContainer, LightspeedDrawerProvider, LightspeedDrawerStateExposer, LightspeedFAB, LightspeedIcon, LightspeedPage, lightspeedPlugin };