import { type CSSResultGroup, LitElement, type PropertyValues, type TemplateResult } from "lit"; /** * @summary Used to display a visual promotional message. * * @tag tapsi-banner * * @slot - The default slot to render extra elements when variant is `hero`. * @slot [action] - The slot for action element. */ export declare class Banner extends LitElement { /** @internal */ static readonly styles: CSSResultGroup; /** * The heading text to display in the banner. * * @prop {string} heading * @attr {string} heading */ heading: string; /** * The description text to display in the banner. * * @prop {string} description * @attr {string} description */ description: string; /** * The URL of the background image to display in the banner. * * @prop {string} image * @attr {string} image */ image: string; /** * The variant style of the banner. * * @prop {"default" | "hero"} variant * @attr {"default" | "hero"} variant * @default "default" */ variant: "default" | "hero"; /** * The background color of the banner. * * @prop {string} backgroundColor * @attr {string} background-color * @default "var(--tapsi-color-surface-secondary)" */ backgroundColor: string; /** * The text color of the banner. * * @prop {string} textColor * @attr {string} text-color * @default "var(--tapsi-color-content-primary)" */ textColor: string; private _hasActionSlot; private _actionSlotNodes; protected updated(changed: PropertyValues): void; protected willUpdate(changed: PropertyValues): void; private _handleActionSlotChange; private _renderHeading; private _renderDescription; protected render(): TemplateResult; }