import { MatDialog } from '@angular/material/dialog'; import { MtnaInMemorySearchFacade, MtnaSearchDialogOutput } from '@mtna/search-manager-angular'; import { RdsApiService } from '@rds/shared-api'; import { Observable } from 'rxjs'; import { RdsDataProductSelection } from '../core/models'; import { RdsDataProductDialogOptions } from './data-product-dialog-options-token'; import * as i0 from "@angular/core"; /** * Central service for managing the data product selection dialog. * * @author Will Davis */ export declare class RdsDataProductDialogService { private dialog; private rdsApiService; private searchFacade; private options?; private selectDialogRef; constructor(dialog: MatDialog, rdsApiService: RdsApiService, searchFacade: MtnaInMemorySearchFacade, options?: RdsDataProductDialogOptions | undefined); /** * Open a select data source dialog if one is not already opened. * * @param forceSelection Requires a selection to be made before closing, defaults to false * @param dialogWidth dialog width, defaults to 80vw * @returns Observable that emits the dialog output and whether a different data product was selected. */ openSelectDataSourceDialog(forceSelection?: boolean, dialogWidth?: string, columnWidths?: { [id: string]: number; }): Observable & { changed: boolean; }>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }