import { t as ScanditHTMLElement } from "../../../ScanditHTMLElement-DB_pDIgX.js";
import { t as ScanditIcon } from "../../../ScanditIcon-Dv_GCY5b.js";
import { ln as GenericHint } from "../../../DataCaptureContext-CAmigtb7.js";
//#region src/main/private/ui/atoms/Toast.d.ts
declare enum ToastEvents {
DidShow = "didshow",
DidHide = "didhide"
}
type DidShowEvent = CustomEvent<{
target: Toast;
}>;
type DidHideEvent = CustomEvent<{
target: Toast;
}>;
declare class Toast extends ScanditHTMLElement {
static readonly tag: "scandit-toast-hint";
private toast;
private _hintStyle;
private _customIcon;
private currentAnimation;
private _exclamationIcon;
private _checkIcon;
private animationDuration;
private _currentAnimationDirection;
constructor();
private static createStyleElement;
get hintStyle(): GenericHint["hintStyle"] | null;
set hintStyle(hintStyle: GenericHint["hintStyle"]);
get customIcon(): ScanditIcon | null;
set customIcon(icon: ScanditIcon | null);
private get showAnimation();
private get hideAnimation();
static create(): Toast;
static register(): void;
show(): Promise;
hide(): Promise;
connectedCallback(): void;
private toggle;
private render;
}
declare global {
interface HTMLElementTagNameMap {
[Toast.tag]: Toast;
}
interface HTMLElementEventMap {
[ToastEvents.DidShow]: DidShowEvent;
[ToastEvents.DidHide]: DidHideEvent;
}
}
//#endregion
export { DidHideEvent, DidShowEvent, Toast, ToastEvents };