import { LitElement } from 'lit'; import { NJC_BUTTON_VARIANTS } from '../button/button.ts'; export type NJC_TOAST_VARIANTS = 'info' | 'warning' | 'error' | 'success' | 'inverse'; export type NJC_TOAST_ACTION = { label: string; variant?: NJC_BUTTON_VARIANTS; onClick?: (event: Event) => void; }; export type NJC_TOAST_OPTIONS = { id: string; variant?: NJC_TOAST_VARIANTS; title?: string; subtitle?: string; dismissible?: boolean; sticky?: boolean; exitIconLabel?: string; statusIconLabel?: string; actions?: NJC_TOAST_ACTION[]; }; declare const NjcToast_base: typeof LitElement; export declare class NjcToast extends NjcToast_base { /** * Unique identifier for the toast. */ id: string; /** @property variant - The variant of the toast @type {NJC_ALERT_VARIANTS} **/ variant: NJC_TOAST_VARIANTS; /** * @property dismissible - Whether the toast is dismissible * @type {boolean} */ dismissible: boolean; /** * @property sticky - Whether the toast is sticky * @type {boolean} */ sticky: boolean; /** * @property exitIconLabel - The label for the exit icon * @type {string} */ exitIconLabel: string; /** * @property statusIconLabel - The label for the status icon * @type {string} */ statusIconLabel: string; /** * @property title - The title of the toast * @type {string} */ title: string; /** * @property subtitle - The subtitle of the toast * @type {string} */ subtitle: string; /** * @property actions - Action buttons rendered in the toast (max 2). Used by toasterService; slot="actions" remains for manual markup. * @type {NJC_TOAST_ACTION[]} */ actions: NJC_TOAST_ACTION[]; } export {};