import type { Keys as IconName } from '@rocket.chat/icons'; import type { TextObject } from '../../blocks/TextObject'; import type { View } from '../View'; import type { BannerSurfaceLayout } from './UiKitParserBanner'; /** * A view that is displayed as a banner. */ export type BannerView = Omit & { viewId: string; inline?: boolean; variant?: 'neutral' | 'info' | 'success' | 'warning' | 'danger'; icon?: IconName; /** Title as plain string (legacy) or UiKit text object (e.g. { type: 'mrkdwn', text: '...' }). */ title?: string | TextObject; blocks: BannerSurfaceLayout; }; export declare const isBannerView: (input: unknown) => input is BannerView; //# sourceMappingURL=BannerView.d.ts.map