import type { PropsWithChildren } from 'react'; import { ThemeScopeProvider } from '../../context/ThemeScopeContext'; /** * The `str-chat ` scope classes for an AI component's root, or `undefined` when an ancestor * (`ChatView`, `Channel`, `ChannelNavigation` or another AI component) already provides the scope. * A nested `.str-chat` would reset the design tokens an app overrides on the outer element. * * Unlike the main SDK's scope, it does not require `Chat`: the AI components also render without * one, and there they get the plain `str-chat` scope, with no theme. * * A component puts the classes on its own root element and renders its children inside * `ThemeScopeProvider`, so the AI components inside it don't add a scope of their own. */ export declare const useAIThemeScopeClassName: () => string | undefined; /** * The scope for an AI component with no single root element of its own, such as `AIMarkdown`: * a layout-neutral (`display: contents`) wrapper, added only when no ancestor provides the scope. */ export declare const AIThemeScope: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export { ThemeScopeProvider }; //# sourceMappingURL=themeScope.d.ts.map