import { MatLegacyDialog as MatDialog, MatLegacyDialogConfig as MatDialogConfig, MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog'; import { ComponentType } from '@angular/cdk/portal'; import * as i0 from "@angular/core"; /*** * This service opens a dialog with a component using the pre-defined configurations. */ export declare class SingDialogService { private dialog; readonly standardDialogConfig: MatDialogConfig; constructor(dialog: MatDialog); /** * Use the open method to use the default configuration (standardDialogConfig) or specify one of the predefined settings */ open(componentOrTemplateRef: ComponentType, config?: MatDialogConfig): MatDialogRef; /** * create panel class. * we want to add the 'dialog-without-padding' css class * there are couple of options: * - we get panelClass as array * - we get panelClass as string * - panelClass not pass * * in each case we will add the 'dialog-without-padding' css class * @private */ private createPanelClass; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=dialog.service.d.ts.map