import { iOSFrame as iOSFrameDefinition, NavigationTransition } from '.';
import { FrameBase, NavigationType } from './frame-common';
import type { BackstackEntry } from './frame-interfaces';
import type { Page } from '../page';
import type { Transition } from '../transition';
export * from './frame-common';
export declare class Frame extends FrameBase {
    viewController: UINavigationControllerImpl;
    iosNavigationBarClass: typeof NSObject;
    iosToolbarClass: typeof NSObject;
    private _ios;
    constructor();
    createNativeView(): UIView;
    disposeNativeView(): void;
    get ios(): iOSFrame;
    setCurrent(entry: BackstackEntry, navigationType: NavigationType): void;
    _navigateCore(backstackEntry: BackstackEntry): void;
    private pushViewControllerAnimated;
    _goBackCore(backstackEntry: BackstackEntry): void;
    _updateActionBar(page?: Page, disableNavBarAnimation?: boolean): void;
    _getNavBarVisible(page: Page): boolean;
    static get defaultAnimatedNavigation(): boolean;
    static set defaultAnimatedNavigation(value: boolean);
    static get defaultTransition(): NavigationTransition;
    static set defaultTransition(value: NavigationTransition);
    onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
    layoutNativeView(left: number, top: number, right: number, bottom: number): void;
    _setNativeViewFrame(nativeView: UIView, frame: CGRect): void;
    _onViewControllerShown(viewController: UIViewController): void;
}
declare class UINavigationControllerImpl extends UINavigationController {
    private _owner;
    lastExecutingTransition: Transition;
    static initWithOwner(owner: WeakRef<Frame>): UINavigationControllerImpl;
    get owner(): Frame;
    viewWillAppear(animated: boolean): void;
    viewDidDisappear(animated: boolean): void;
    private animateWithDuration;
    pushViewControllerAnimated(viewController: UIViewController, animated: boolean): void;
    setViewControllersAnimated(viewControllers: NSArray<any>, animated: boolean): void;
    popViewControllerAnimated(animated: boolean): UIViewController;
    popToViewControllerAnimated(viewController: UIViewController, animated: boolean): NSArray<UIViewController>;
    traitCollectionDidChange(previousTraitCollection: UITraitCollection): void;
    get childViewControllerForStatusBarStyle(): UIViewController;
    get preferredStatusBarStyle(): UIStatusBarStyle;
}
export declare function _getNativeCurve(transition: NavigationTransition): UIViewAnimationCurve;
declare class iOSFrame implements iOSFrameDefinition {
    private _controller;
    private _showNavigationBar;
    private _navBarVisibility;
    _disableNavBarAnimation: boolean;
    constructor(frame: Frame);
    get controller(): UINavigationControllerImpl;
    set controller(value: UINavigationControllerImpl);
    get showNavigationBar(): boolean;
    set showNavigationBar(value: boolean);
    get navBarVisibility(): 'auto' | 'never' | 'always';
    set navBarVisibility(value: 'auto' | 'never' | 'always');
}
export declare function setActivityCallbacks(activity: any): void;
