import { View } from '@nativescript/core/ui/core/view'; import { BottomSheetOptions } from './bottomsheet'; import { ViewWithBottomSheetBase } from './bottomsheet-common'; declare class IMDCBottomSheetControllerDelegateImpl extends NSObject implements MDCBottomSheetControllerDelegate { static new(): IMDCBottomSheetControllerDelegateImpl; _owner: WeakRef; } declare module '@nativescript/core/ui/core/view/view' { interface View { _setLayoutFlags(left: number, top: number, right: number, bottom: number): any; } namespace ios { interface UILayoutViewController extends UIViewController { owner: WeakRef; } } } declare module '@nativescript/core/ui/core/view-base' { interface ViewBase { _layoutParent(): any; } } export declare class ViewWithBottomSheet extends ViewWithBottomSheetBase { bottomSheetControllerDelegate: IMDCBottomSheetControllerDelegateImpl; bottomSheetController: MDCBottomSheetController; protected _showNativeBottomSheet(parent: View, options: BottomSheetOptions): void; _bottomSheetClosed(): void; protected _hideNativeBottomSheet(parent: View, whenClosedCallback: () => void): void; } export declare function overrideBottomSheet(): void; export declare function install(): void; export {};