import { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material/dialog'; /** * This interface describes the options that can be passed to a * dialog. */ export interface InputDialogOptions { title?: string; text?: string; strong?: string; extra?: string; inputType?: string; inputLabel?: string; inputValue?: string; inputValidator?: (value: string) => true | string; buttonLabel?: string; buttonClass?: string; dialogClass?: string; } /** * This interface represents the result of an input dialog. */ export interface InputDialogResult { errorMessage: string; inputValue: string; submit: boolean; } /** * This component displays a modal with an input box. */ export declare class InputDialogComponent { private dialogRef; options: InputDialogOptions; inputValue: string; constructor(dialogRef: MatDialogRef, data: any); /** * Open the dialog. */ static open(dialogService: MatDialog, data: InputDialogOptions, config?: MatDialogConfig): MatDialogRef; /** * Whether the input is valid or not. */ get errorMessage(): string; /** * Clear all the selected filters. */ close(submit?: boolean): false; }