import { DialogRef } from '@angular/cdk/dialog';
import { OverlayRef } from '@angular/cdk/overlay';
import { Observable } from 'rxjs';
import { KbqActionsPanelContainer } from './actions-panel-container';
/**
 * Reference to actions panel opened by `KbqActionsPanel` service.
 */
export declare class KbqActionsPanelRef<I = unknown, R = unknown> {
    private readonly dialogRef;
    /**
     * Instance of the component into which the actions panel content is projected.
     *
     * @docs-private
     */
    containerInstance: KbqActionsPanelContainer;
    /** Gets an observable that is notified when the actions panel is finished closing. */
    get afterClosed(): Observable<R | undefined>;
    /** Gets an observable that emits when keydown events are targeted on the overlay. */
    get keydownEvents(): Observable<KeyboardEvent>;
    /** Gets an observable that is notified when the actions panel has opened and appeared. */
    get afterOpened(): Observable<void>;
    /**
     * Gets the overlay reference for the actions panel.
     *
     * @docs-private
     */
    get overlayRef(): OverlayRef;
    /**
     * Gets the ID of the actions panel.
     *
     * @docs-private
     */
    get id(): string;
    private readonly _afterOpened;
    /** Result to be passed down to the `afterClosed` stream. */
    private result;
    /** Handle to the timeout that's running as a fallback in case the close animation doesn't fire. */
    private closeAnimationFallbackTimeout;
    constructor(dialogRef: DialogRef<R, I>, containerInstance: KbqActionsPanelContainer);
    /** Closes the actions panel. */
    close(result?: R): void;
    private handleAnimation;
    private handleOverlayDetachments;
}
