import type { PropsWithChildren } from 'react'; import type { AlertProps as AntdAlertProps } from 'antd/es/alert'; /** * Props for the Alert component, extending Ant Design's AlertProps * with support for children instead of the message prop. */ export type AlertProps = PropsWithChildren>; /** * Alert component for displaying important messages to users. * * Wraps Ant Design's Alert component with sensible defaults and improved accessibility. * Supports four severity levels: success, info, warning, and error. * * @param props - Alert configuration props * * @example * // Basic usage with default info type * This is an informational message * * @example * // Error alert with description * * Operation failed * * * @example * // Success alert without close button or icon * * Settings saved successfully * * * @example * // Warning alert with custom close handler * console.log('Alert closed')}> * Your session will expire in 5 minutes * * * @returns Rendered Alert component with proper ARIA attributes */ export declare const Alert: (props: AlertProps) => import("@emotion/react/jsx-runtime").JSX.Element; //# sourceMappingURL=index.d.ts.map