import * as tslib_1 from "tslib";
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { OverlayModule } from '@angular/cdk/overlay';
import { ToastComponent } from './toast';
import { ToastItemComponent } from './toast.item';
import { ToastConfig } from './toast.config';
var ɵ0 = {
    duration: 2000,
    animate: true
};
var ToastModule = /** @class */ (function () {
    function ToastModule() {
    }
    ToastModule = tslib_1.__decorate([
        NgModule({
            imports: [CommonModule, OverlayModule],
            declarations: [ToastComponent, ToastItemComponent],
            providers: [{
                    provide: ToastConfig,
                    useValue: ɵ0
                }],
            exports: [ToastComponent],
            entryComponents: [ToastComponent, ToastItemComponent]
        })
    ], ToastModule);
    return ToastModule;
}());
export { ToastModule };
export { ɵ0 };
//# sourceMappingURL=toast.module.js.map