import type { Generic } from 'adopted-style-sheets'; import type { HeadingLevel, PropAlert, PropAlertType, PropAlertVariant, PropHasCloser, PropLabel } from '../props'; import type { EventCallback } from '../types'; export type KoliBriAlertEventCallbacks = { onClose?: EventCallback; }; type RequiredAlertProps = NonNullable; type OptionalAlertProps = { level: HeadingLevel; on: KoliBriAlertEventCallbacks; } & PropLabel & PropAlert & PropHasCloser & PropAlertType & PropAlertVariant; type RequiredAlertStates = RequiredAlertProps; type OptionalAlertStates = OptionalAlertProps; export type InternalAlertProps = RequiredAlertProps & OptionalAlertProps; export type AlertProps = Generic.Element.Members; export type AlertStates = Generic.Element.Members; export type AlertAPI = Generic.Element.ComponentApi; export {};