import * as React from '@theia/core/shared/react'; import { Event } from '@theia/core'; /** * Contribution point for compact, persistent banners shown above the chat view * content (between the tab title and the message list). Unlike {@link ChatWelcomeMessageProvider}, * these banners stay visible while the user is actively chatting. * * Implementations should return `undefined` from {@link renderBanner} when there * is nothing to show, so the host can collapse to zero height. */ export declare const ChatBannerProvider: unique symbol; export interface ChatBannerProvider { /** Optional priority for rendering order. Higher values render first. Default: 0. */ readonly priority?: number; /** Fired when the banner content (or visibility) may have changed. */ readonly onDidChange?: Event; /** Render the banner, or `undefined` to hide it. */ renderBanner(): React.ReactNode | undefined; } //# sourceMappingURL=chat-banner-provider.d.ts.map