import { Type, ViewContainerRef } from '@angular/core'; import { BottomSheetOptions as MaterialBottomSheetOptions } from 'nativescript-material-bottomsheet'; import { Observable } from 'rxjs'; export declare type BaseShowBottomSheetOptions = Pick>; export interface BottomSheetOptions extends BaseShowBottomSheetOptions { viewContainerRef?: ViewContainerRef; } export declare class BottomSheetParams { context: any; closeCallback: (...args: any[]) => void; constructor(context: any, closeCallback: any); } export declare class BottomSheetService { private detachedLoader; private componentView; private subject$; private currentId; show(type: Type, options: BottomSheetOptions): Observable; showWithCloseCallback(type: Type, options: BottomSheetOptions): { observable: Observable; closeCallback: () => void; }; private getParentView; private getFactoryResolver; private createChildInjector; private getBottomSheetParams; private createDetachedLoader; private loadComponent; }