import * as _angular_core from '@angular/core';
import { AfterViewInit, ElementRef, Injector } from '@angular/core';
import _Toast from '@ui5/webcomponents/dist/Toast.js';
import { UI5CustomEvent } from '@ui5/webcomponents-base';

declare class Toast implements AfterViewInit {
    /**
     * Defines the duration in milliseconds for which component
  remains on the screen before it's automatically closed.
  
  **Note:** The minimum supported value is `500` ms
  and even if a lower value is set, the duration would remain `500` ms.
     */
    duration: _angular_core.InputSignal<number | undefined>;
    /**
     * Defines the placement of the component.
     */
    placement: _angular_core.InputSignal<"TopStart" | "TopCenter" | "TopEnd" | "MiddleStart" | "MiddleCenter" | "MiddleEnd" | "BottomStart" | "BottomCenter" | "BottomEnd" | undefined>;
    /**
     * Indicates whether the component is open (visible).
     */
    open: _angular_core.InputSignalWithTransform<boolean, unknown>;
    /**
     * Fired after the component is auto closed.
     */
    ui5Close: _angular_core.OutputEmitterRef<UI5CustomEvent<_Toast, "close">>;
    /**
     * Available slots for content projection in this component.
     *
     * Slots allow you to insert custom content into predefined areas of the web component.
     * Use the `slot` attribute on child elements to target specific slots.
     *
     * - **(default)**: Defines the text of the component.
  
  **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
     *
     * @example
     * ```html
     * <ui5-toast>
     *   <div slot="header">Custom header content</div>
     *   <p>Default slot content</p>
     * </ui5-toast>
     * ```
     *
     * @readonly
     * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
     */
    readonly slots: {
        name: string;
        description: string;
    }[];
    elementRef: ElementRef<_Toast>;
    injector: Injector;
    get element(): _Toast;
    ngAfterViewInit(): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<Toast, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<Toast, "ui5-toast, [ui5-toast]", ["ui5Toast"], { "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "ui5Close": "ui5Close"; }, never, ["*"], true, never>;
}

export { Toast };
