import { ViewRef } from '@angular/core'; import { Subject } from 'rxjs'; import { KitOverlayComponentRef, KitOverlayInput } from '../../'; import { Partial } from '../util/util'; import { KitModalOptions } from './meta'; export declare class KitModalRef { /** @internal */ readonly id: string; readonly onClose: Subject; readonly onDestroy: Subject; /** @internal */ viewRef: ViewRef; /** @internal */ componentRef: KitOverlayComponentRef; private _options; options: Partial; readonly instance: T; /** @internal */ applyParams(params: Partial): void; /** * Emit close event. */ close(): void; /** * Pass input to the hosted component. */ input(input: KitOverlayInput): void; }