import { Button, IButtonStyles } from "../../../../../base/browser/ui/button/button.js"; import { DisposableStore } from "../../../../../base/common/lifecycle.js"; import { ThemeIcon } from "../../../../../base/common/themables.js"; import { IHoverService } from "../../../../../platform/hover/browser/hover.service.js"; /** * The large inline card shell: rounded border, panel background, clipped content. Chat's other * card tier is `.chat-confirmation-widget2`, which is smaller and has no background. */ export declare const CHAT_CARD_LARGE_CLASS = "chat-card-large"; /** Header strip of a large card: title on the left, actions on the right, separated by a rule. */ export declare const CHAT_CARD_HEADER_CLASS = "chat-card-header"; export declare const CHAT_CARD_TITLE_CLASS = "chat-card-title"; export declare const CHAT_CARD_HEADER_ACTIONS_CLASS = "chat-card-header-actions"; /** * Button styles that set no colors at all. * * `Button` writes its background, foreground and border as *inline* styles, which no selector can * outrank -- that is why every hand rolled copy of this button needed `!important`. Passing no * colors makes `Button` write empty strings instead, leaving the appearance to the stylesheet. */ export declare const chatCardButtonStyles: IButtonStyles; export interface IChatCardIconButtonOptions { /** Omit for buttons whose glyph changes over time; set `label` on the result instead. */ readonly icon?: ThemeIcon; readonly ariaLabel: string; /** Adds a delayed hover. Pass the aria label again when the two should match. */ readonly hoverContent?: string; /** `strong` reads as content rather than chrome, `padded` sizes to a label. */ readonly variant?: "strong" | "padded"; } /** * Creates a chrome free 22px icon button for a card header or footer. * * Takes the store rather than returning one, so the button and its hover share the caller's * single lifetime. */ export declare function createChatCardIconButton(store: DisposableStore, container: HTMLElement, hoverService: IHoverService, options: IChatCardIconButtonOptions): Button;