import { EventEmitter } from '@angular/core'; import { EnvironmentInjector } from '../../di/r3_injector'; import { NavController } from '../../providers/nav-controller'; import { BkkrNavs } from '../proxies'; import { BkkrRouterOutlet } from './router-outlet'; import { StackEvent } from './stack-utils'; import * as i0 from "@angular/core"; export declare class BkkrTabs { private navCtrl; outlet: BkkrRouterOutlet; navs: BkkrNavs | undefined; /** * @experimental * * The `EnvironmentInjector` provider instance from the parent component. * Required for using standalone components with `bkkr-router-outlet`. * * Will be deprecated and removed when Angular 13 support is dropped. */ environmentInjector: EnvironmentInjector; bkkrTabsWillChange: EventEmitter<{ tab: string; }>; bkkrTabsDidChange: EventEmitter<{ tab: string; }>; constructor(navCtrl: NavController); /** * @internal */ onPageSelected(detail: StackEvent): void; /** * When a tab button is clicked, there are several scenarios: * 1. If the selected tab is currently active (the tab button has been clicked * again), then it should go to the root view for that tab. * * a. Get the saved root view from the router outlet. If the saved root view * matches the tabRootUrl, set the route view to this view including the * navigation extras. * b. If the saved root view from the router outlet does * not match, navigate to the tabRootUrl. No navigation extras are * included. * * 2. If the current tab tab is not currently selected, get the last route * view from the router outlet. * * a. If the last route view exists, navigate to that view including any * navigation extras * b. If the last route view doesn't exist, then navigate * to the default tabRootUrl */ select(tabOrEvent: string | CustomEvent): Promise | undefined; getSelected(): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }