import { AriaLivePoliteness } from '@angular/cdk/a11y'; import { InjectionToken, ViewContainerRef } from '@angular/core'; /** Injection token that can be used to access the data that was passed in to a notification toast. */ export declare const SBB_NOTIFICATION_TOAST_DATA: InjectionToken; /** Possible values for horizontalPosition on SbbNotificationToastConfig. */ export declare type SbbNotificationHorizontalPosition = 'center'; /** Possible values for verticalPosition on SbbNotificationToastConfig. */ export declare type SbbNotificationVerticalPosition = 'top' | 'bottom'; /** Possible values for verticalPosition on SbbNotificationToastConfig. */ export declare type SbbNotificationType = 'success' | 'error' | 'warn' | 'info'; export declare class SbbNotificationToastConfig { /** The politeness level for the AriaLiveAnnouncer announcement. */ politeness?: AriaLivePoliteness; /** * Message to be announced by the LiveAnnouncer. When opening a notification without a custom * component or template, the announcement message will default to the specified message. */ announcementMessage?: string; /** * The view container that serves as the parent for the notification for the purposes of dependency * injection. Note: this does not affect where the notification is inserted in the DOM. */ viewContainerRef?: ViewContainerRef; /** The length of time in milliseconds to wait before automatically dismissing the notification. */ duration?: number; /** Extra CSS classes to be added to the notification container. */ panelClass?: string | string[]; /** Data being injected into the child component. */ data?: D | null; /** Possible values for the notification's vertical position. */ verticalPosition?: SbbNotificationVerticalPosition; /** The notification type */ type?: SbbNotificationType; }