import type * as React from 'react';
import { AnalyticsOverrideProps } from '../analytics';
export type AlertHeadingLevel = '1' | '2' | '3' | '4' | '5' | '6';
export type AlertRole = 'alert' | 'alertdialog' | 'region' | 'status';
export type AlertVariation = 'error' | 'warn' | 'success';
export type AlertWeight = 'lightweight';
export interface BaseAlertProps extends AnalyticsOverrideProps {
    /**
     * Access a reference to the `alert` `div` element
     */
    alertRef?: (...args: any[]) => any;
    /**
     * Sets the focus on Alert during the first mount
     */
    autoFocus?: boolean;
    /**
     * The alert's body content
     */
    children?: React.ReactNode;
    className?: string;
    /**
     * Text for the alert heading
     */
    heading?: React.ReactNode;
    /**
     * Optional id used to link the `aria-labelledby` attribute to the heading. If not provided, a unique id will be automatically generated and used.
     */
    headingId?: string;
    /**
     * Heading type to override default `<h2>`.
     */
    headingLevel?: AlertHeadingLevel;
    /**
     * Boolean to hide the `Alert` icon
     */
    hideIcon?: boolean;
    /**
     * A unique ID for this element. A unique ID will be generated if one isn't provided.
     */
    id?: string;
    /**
     * ARIA `role`, defaults to 'region'
     */
    role?: AlertRole;
    /**
     * A string corresponding to the `Alert` weight classes (`lightweight`)
     */
    weight?: AlertWeight;
    /**
     * A string corresponding to the `Alert` variation classes (`error`, `warn`, `success`)
     */
    variation?: AlertVariation;
}
export type AlertProps = BaseAlertProps & Omit<React.ComponentPropsWithRef<'div'>, keyof BaseAlertProps>;
/**
 * For information about how and when to use this component,
 * [refer to its full documentation page](https://design.cms.gov/components/alert/).
 */
export declare const Alert: React.FC<AlertProps>;
export default Alert;
