/** A run of banner copy for the `announcement` variant. */ export interface SiteBannerSegment { /** The run's text. */ text: string; /** Visual emphasis. Omit for default body copy. */ style?: 'strong' | 'subtle'; /** When set, this run renders as a link opened in a new tab. */ href?: string; } interface Props { /** The text in the banner. Used by the `warning` and `info` variants. */ value?: string; /** Optional variant for visual distinction */ variant?: 'warning' | 'info' | 'announcement'; /** When set, the banner text becomes a link to this target, opened in a new tab. */ href?: string; /** Leading badge for the `announcement` variant. Omit to hide the badge. */ badge?: string; /** Styled copy runs for the `announcement` variant. */ segments?: SiteBannerSegment[]; /** When provided, a dismiss button is shown and called on click. */ onDismiss?: () => void; } declare const SiteBanner: import("svelte").Component; type SiteBanner = ReturnType; export default SiteBanner;