import { AlertVariantIcons } from './AlertIcon.vue'; import { type OUIAProps } from '../../helpers/ouia'; import { type Component, type HTMLAttributes, type VNode } from 'vue'; import type { Placement } from '../../helpers/FloatingUi.vue'; interface Props extends OUIAProps, /* @vue-ignore */ Omit { /** Flag indicating that the alert is expandable. */ expandable?: boolean; /** A callback for when the close button is clicked. Setting it renders a pf-alert-action-close-button, unless the * action-close slot is used. */ onClose?: (event: MouseEvent) => void; /** Flag to indicate if the alert is inline. */ inline?: boolean; /** Flag to indicate if the alert is in a live region. */ liveRegion?: boolean; /** Flag to indicate if the alert is plain. */ plain?: boolean; /** If set to true, the timeout is 8000 milliseconds. If a number is provided, alert will * be dismissed after that amount of time in milliseconds. */ timeout?: number | boolean; /** If the user hovers over the alert and `timeout` expires, this is how long to wait * before finally dismissing the alert. */ timeoutAnimation?: number; /** Title of the alert. */ title?: string; /** Sets the element to use as the alert title. Default is h4. */ component?: string | Component; /** Adds accessible text to the alert toggle. Defaults to " alert details". */ toggleAriaLabel?: string; /** Position of the tooltip which is displayed if text is truncated. */ tooltipPosition?: Placement; /** Truncate title to number of lines. */ truncateTitle?: number; /** Adds alert variant styles. */ variant?: keyof typeof AlertVariantIcons; /** Variant label text for screen readers. Defaults to " alert:". */ variantLabel?: string; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots any; } & { mouseenter: (e: MouseEvent) => any; mouseleave: (e: MouseEvent) => any; timeout: () => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onMouseenter?: ((e: MouseEvent) => any) | undefined; onMouseleave?: ((e: MouseEvent) => any) | undefined; "onUpdate:expanded"?: ((value: boolean) => any) | undefined; onTimeout?: (() => any) | undefined; }>, { component: string | Component; variant: "success" | "warning" | "danger" | "info" | "custom"; ouiaSafe: boolean; tooltipPosition: Placement; timeoutAnimation: number; truncateTitle: number; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { /** Description of the alert. */ default?: (props?: Record) => VNode[]; /** Title of the alert, replacing the title prop. */ title?: (props?: Record) => VNode[]; /** A custom icon, replacing the one of the variant. */ 'custom-icon'?: (props?: Record) => VNode[]; /** Close button: use a pf-alert-action-close-button. */ 'action-close'?: (props?: Record) => VNode[]; /** Action links beneath the description: use pf-alert-action-link. */ 'action-links'?: (props?: Record) => VNode[]; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=Alert.vue.d.ts.map