import { Type } from '@angular/core'; import { Observable } from 'rxjs'; import { IDialogOptions } from '../interfaces'; /** * Provides control over a specific dialog instance, allowing for opening, closing, and configuring the dialog. */ export declare class DialogRemoteControl { #private; /** A unique identifier for the dialog instance. */ readonly id: string; /** Custom payload data that can be passed to the dialog. */ payload: null | any; /** * Sets dialog options, merging provided options with default dialog options. * @param {Partial} options Custom options to configure the dialog. */ set options(options: Partial); /** * Returns the current configuration options of the dialog. * @returns {IDialogOptions} The current set of dialog options. */ get options(): IDialogOptions; private dialogService; constructor(component: Type); /** * Configures the dialog to show a loader until explicitly stopped. Optionally, a custom loader component can be provided. * @param {Type=} component The component to use as a loader. If not provided, a default loader is used. */ withLoader(component?: Type): void; /** * Stops the loader, if any, and reveals the dialog's main content. */ stopLoader(): void; /** * Opens the dialog with the configured settings and component. Optionally, a payload can be passed to the dialog. * @param {any=} payload Custom data to be passed to the dialog component. * @returns {Observable} An Observable that emits when the dialog is closed, returning any result data. */ openDialog(payload?: any): Observable; /** * Closes the dialog and optionally returns data to the opener. * @param {any=} data Optional data to return as the result of the dialog. */ closeDialog(data?: any): void; }