import { ComponentPropsWithoutRef } from 'react'; import { OnCloseProps, LayoutUtilProps, Status } from '../../types'; /** * Props for the Announcement component * @extends ComponentPropsWithoutRef<"div"> * @extends Omit * @extends OnCloseProps */ export type AnnouncementProps = ComponentPropsWithoutRef<"div"> & Omit & OnCloseProps & { /** * The visual style of the announcement. * @default info */ status?: Status; /** * The title text displayed in the announcement. */ title: string; }; /** * Announcement component for displaying important messages to users. * * Features: * - Supports different visual styles (info, success, warning, danger) * - Optional close button for dismissible announcements * - Customizable title and content * - Accessible with proper ARIA roles * - Includes status-specific icons * - Supports layout utilities for positioning and spacing * * @example * console.log('Announcement closed')} * > * Check out our latest feature! * * * @example * * Scheduled maintenance will begin in 30 minutes. * */ export declare const Announcement: import('react').ForwardRefExoticComponent, HTMLDivElement>, "ref"> & Omit & OnCloseProps & { /** * The visual style of the announcement. * @default info */ status?: Status; /** * The title text displayed in the announcement. */ title: string; } & import('react').RefAttributes>;