import { BootstrapElement, type Variant } from '@bootstrap-wc/core'; /** * `` — Bootstrap toast notification. */ export declare class BsToast extends BootstrapElement { open: boolean; autohide: boolean; /** * When present, disables auto-hide — equivalent to setting * `autohide = false` in JS. Useful as an attribute escape hatch since * Lit's Boolean attribute converter treats any value (including * `"false"`) as truthy. */ noAutohide: boolean; delay: number; variant?: Variant; heading?: string; timestamp?: string; noCloseButton: boolean; /** * When true AND no `heading` is set, renders the body + close button in a * flex layout matching Bootstrap's "Custom content" / "Color schemes" * examples. Ignored when a header is present — the header already owns * the close button in that case. */ dismissible: boolean; private _timer?; updated(changed: Map): void; show(): void; hide(): void; render(): import("lit-html").TemplateResult<1>; } export type ToastContainerPosition = 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end'; /** `` — positions stacked toasts. */ export declare class BsToastContainer extends BootstrapElement { placement: ToastContainerPosition; /** * When true, skips `position-fixed` + placement classes and uses * `position-static` — matches Bootstrap's "Stacking" example where toasts * flow in normal document order. */ static: boolean; /** * When true, uses `position-absolute` instead of `position-fixed` so the * container can be pinned inside a relatively-positioned ancestor * (useful for demoing placement within a bounded area). */ absolute: boolean; private _positionClass; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'bs-toast': BsToast; 'bs-toast-container': BsToastContainer; } } //# sourceMappingURL=toast.d.ts.map