import { Command, ReadOnlyProperty } from '../../../WebRx'; import { BaseViewModel, HandlerRoutingStateChanged, RoutingStateHandler } from '../../React'; export interface TabsRoutingState { tab?: number; } export declare class TabsViewModel extends BaseViewModel implements RoutingStateHandler { static displayName: string; readonly tabs: ReadOnlyProperty; readonly selectedTab: ReadOnlyProperty; readonly selectedIndex: ReadOnlyProperty; readonly addTab: Command; readonly removeTab: Command; readonly selectTab: Command; readonly selectIndex: Command; constructor(initialTabs?: T[]); isRoutingStateHandler(): boolean; createRoutingState(changed?: HandlerRoutingStateChanged): TabsRoutingState; applyRoutingState(state: TabsRoutingState): void; }