import { OverlayRef } from '@angular/cdk/overlay'; import { Observable } from 'rxjs'; import { KbqSidepanelConfig } from './sidepanel-config'; import { KbqSidepanelContainerComponent } from './sidepanel-container.component'; export declare class KbqSidepanelRef { readonly containerInstance: KbqSidepanelContainerComponent; readonly overlayRef: OverlayRef; readonly config: KbqSidepanelConfig; readonly id: string; /** * Vertical scroll overflow state of the sidepanel body. * Updated on scroll and used for visual adjustments. */ bodyOverflow: import("@angular/core").WritableSignal<{ top: boolean; bottom: boolean; }>; /** Instance of the component making up the content of the sidepanel. */ instance: T; /** Subject for notifying the user that the sidepanel has been closed and dismissed. */ private readonly afterClosed$; /** Subject for notifying the user that the sidepanel starting closing. */ private readonly beforeClosed$; /** Subject for notifying the user that the sidepanel has opened and appeared. */ private readonly afterOpened$; /** Result to be passed down to the `afterDismissed` stream. */ private result; constructor(containerInstance: KbqSidepanelContainerComponent, overlayRef: OverlayRef, config: KbqSidepanelConfig); close(result?: R): void; /** Gets an observable that is notified when the sidepanel is started closing. */ beforeClosed(): Observable; /** Gets an observable that is notified when the sidepanel is finished closing. */ afterClosed(): Observable; /** Gets an observable that is notified when the sidepanel has opened and appeared. */ afterOpened(): Observable; }