import { InjectionToken, Injector } from '@angular/core'; /** Injection token that can be used to access the data that was passed in to a sidepanel. */ export declare const KBQ_SIDEPANEL_DATA: InjectionToken; export declare enum KbqSidepanelPosition { Right = "right", Left = "left", Top = "top", Bottom = "bottom" } export declare enum KbqSidepanelSize { Small = "small", Medium = "medium", Large = "large" } export declare class KbqSidepanelConfig { /** ID for the sidepanel. If omitted, a unique one will be generated. */ id?: string; /** Whether the focus trap is active. */ trapFocus?: boolean; /** capture focus on initialization. This option sets cdkTrapFocusAutoCapture. */ trapFocusAutoCapture?: boolean; /** Data being injected into the child component. */ data?: D | null; position?: KbqSidepanelPosition; size?: KbqSidepanelSize; /** Whether the sidepanel has a backdrop. */ hasBackdrop?: boolean; backdropClass?: string; /** * When we open multiple sidepanels, backdrop appears only once, except cases then this flag is true. * @deprecated used single shared backdrop instead. */ requiredBackdrop?: boolean; /** Whether the user can use escape or clicking outside to close the sidepanel. */ disableClose?: boolean; /** Custom class for the overlay pane. */ overlayPanelClass?: string | string[]; /** * Injector used for the instantiation of the component to be attached. * Allows to pass a custom injector to provide a dependency injection hierarchy for the sidepanel content. */ injector?: Injector; }