import { HTMLAttributes } from 'svelte/elements';
import { DefaultProps, SvelteUIColor, SvelteUINumberSize } from '../../styles';
import { Component } from '../../internal';
export type AlertVariant = 'filled' | 'outline' | 'light';
export interface AlertProps extends DefaultProps, HTMLAttributes {
title?: string;
color?: SvelteUIColor;
radius?: SvelteUINumberSize;
variant?: AlertVariant;
icon?: Component | HTMLOrSVGElement;
iconSize?: SvelteUINumberSize;
iconProps?: Record;
withCloseButton?: boolean;
closeButtonLabel?: string;
}
export interface AlertEvents {
close: CustomEvent;
[evt: string]: CustomEvent;
}