import type { SeverityColors } from '@digdir/designsystemet-types'; import type { HTMLAttributes } from 'react'; import type { DefaultProps } from '../../types'; import type { MergeRight } from '../../utilities'; export type AlertProps = MergeRight, { /** * Sets color and icon. * * @default 'info' */ 'data-color'?: SeverityColors; }>; /** * Alerts are used to inform users about important information, warnings, errors, or success. * * @example * Dette er en informasjonsmelding */ export declare const Alert: import("react").ForwardRefExoticComponent, "data-color"> & { /** * Sets color and icon. * * @default 'info' */ 'data-color'?: SeverityColors; } & import("react").RefAttributes>; //# sourceMappingURL=alert.d.ts.map