import { type IAnimatable } from '../../../Behaviors/Animatable';
import { TextOverflow } from '../../../Types/TextOverflow';
import { CustomElement } from '../../Abstracts/CustomElement';
import { IErrorElementProps } from './IErrorElementProps';
declare const ErrorElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Animatable").IAnimatableProps & IAnimatable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * Error - A visual component for displaying error messages with optional icons and animations.
 *
 * @description
 * The Error component provides a consistent way to display error messages, validation feedback, and
 * warning text across your application. It supports configurable text overflow handling (truncate or wrap),
 * optional icon slots for visual indicators, and built-in shake and fade-out animations to draw attention
 * to errors. The component is ideal for form validation messages, inline errors, and notification content.
 *
 * @name Error
 * @element mosaik-error
 * @category Primitives
 *
 * @slot icon - Optional icon to display before the error text
 *
 * @csspart root - The root container element
 * @csspart text - The text display element
 *
 * @cssprop {String} --error-background-color - Background color of the error container
 * @cssprop {String} --error-border-color - Border color for the error outline
 * @cssprop {String} --error-border-radius - Corner rounding radius
 * @cssprop {String} --error-border-style - Border line style
 * @cssprop {String} --error-border-width - Border thickness
 * @cssprop {String} --error-font-family - Font family for error text
 * @cssprop {String} --error-font-letter-spacing - The font letter spacing CSS custom property.
 * @cssprop {String} --error-font-line-height - The font line height CSS custom property.
 * @cssprop {String} --error-font-size - Font size for error text
 * @cssprop {String} --error-font-text-decoration - The font text decoration CSS custom property.
 * @cssprop {String} --error-font-text-transform - The font text transform CSS custom property.
 * @cssprop {String} --error-font-weight - Font weight for error text
 * @cssprop {String} --error-foreground-color - Text color
 * @cssprop {String} --error-gap - Spacing between icon and text
 * @cssprop {String} --error-padding-bottom - The padding bottom CSS custom property.
 * @cssprop {String} --error-padding-left - The padding left CSS custom property.
 * @cssprop {String} --error-padding-right - The padding right CSS custom property.
 * @cssprop {String} --error-padding-top - The padding top CSS custom property.
 * @cssprop {String} --error-shadow - Drop shadow or elevation effect
 * @cssprop {String} --error-shadow-blur - The shadow blur CSS custom property.
 * @cssprop {String} --error-shadow-color - The shadow color CSS custom property.
 * @cssprop {String} --error-shadow-offset-x - The shadow offset x CSS custom property.
 * @cssprop {String} --error-shadow-offset-y - The shadow offset y CSS custom property.
 * @cssprop {String} --error-shadow-spread - The shadow spread CSS custom property.
 * @cssprop {String} --error-transition-duration - Duration of animations
 * @cssprop {String} --error-transition-mode - Timing function for transitions
 * @cssprop {String} --error-transition-property - CSS properties to transition
 * @cssprop {String} --error-translate - The translate CSS custom property.
 *
 * @dependency mosaik-text - The Text element.
 *
 * @example
 * Basic error message:
 * ```html
 * <mosaik-error text="Invalid email address"></mosaik-error>
 * ```
 *
 * @example
 * Error with icon:
 * ```html
 * <mosaik-error text="Connection failed">
 *   <mosaik-icon slot="icon"></mosaik-icon>
 * </mosaik-error>
 * ```
 *
 * @example
 * Error with text wrapping:
 * ```html
 * <mosaik-error
 *   text="This is a longer error message that should wrap to multiple lines"
 *   text-overflow="wrap">
 * </mosaik-error>
 * ```
 *
 * @example
 * Animated error appearance:
 * ```html
 * <mosaik-error id="validationError" text="Required field" style="display: none;"></mosaik-error>
 * <script>
 *   const error = document.querySelector('#validationError');
 *   error.style.display = 'block';
 *   error.onEnterAnimation(); // Triggers shake animation
 * </script>
 * ```
 *
 * @public
 */
export declare class ErrorElement extends ErrorElement_base implements IErrorElementProps, IAnimatable {
    private _text;
    private _textOverflow;
    /**
     * @public
     */
    constructor();
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
    */
    static get is(): string;
    /**
     * Gets or sets the `text` property.
     *
     * @public
     * @attr
     */
    get text(): string;
    set text(value: string);
    /**
     * Gets or sets the `textOverflow` property.
     *
     * @public
     * @attr
     */
    get textOverflow(): TextOverflow;
    set textOverflow(value: TextOverflow);
    /**
    * @public
    * @override
    */
    onEnterAnimation(): Promise<boolean>;
    /**
     * @public
     * @override
     */
    onExitAnimation(): Promise<boolean>;
}
/**
 * @public
 */
export declare namespace ErrorElement {
    type Props = IErrorElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-error': ErrorElement;
    }
}
export {};
//# sourceMappingURL=ErrorElement.d.ts.map