import * as React from 'react'; import '../../../index.scss'; import HIDComponentProps from '../ComponentModel/HIDComponentModel'; export interface HIDAlertProps extends HIDComponentProps { /** The variant to use. */ variant: 'default' | 'info' | 'warning' | 'error' | 'offline'; /**Summary of the alert message. */ summary: string; /** Alert Content*/ content?: string; /** Callback function for Close event.*/ callback?: () => void; /** set true to open the alert*/ open?: true; } export interface HIDAlertState { /** set false to close alert box*/ open: boolean; /** Icon fill color */ fillColor?: string; /** Expanded content box*/ expandContent?: boolean; } /** * ### The API documentation of the HID Alert React component. Learn more about the properties and the API Methods. * */ export default class HIDAlert extends React.Component { constructor(props: any); _white: string; _black: string; state: HIDAlertState; private handleClose; private handleExpand; private getAlertIcon; componentDidUpdate(prevProps: any): void; private getAlert; render(): "" | JSX.Element; }