import * as React from 'react'; import { Animated, TextStyle, ViewStyle } from 'react-native'; export interface IMDTabBarItem { name?: number; label?: string; icon?: string; disabled?: boolean; } export interface IMDTabBarProps { styles?: IMDTabBarStyle; items?: IMDTabBarItem[]; hasInk?: boolean; currentIndex?: number; onChange?: (tabItem?: IMDTabBarItem, index?: number) => void; } interface IMDTabBarStyle { wrapper?: ViewStyle; tabbarList?: ViewStyle; tabbarItem?: ViewStyle; itemText?: TextStyle; isActive?: TextStyle; disabled?: TextStyle; tabBarInk?: ViewStyle; neckSpan?: ViewStyle; } interface IMDTabBarState { curIndex?: number; inkPos: Animated.Value; inkWidth: number; } export declare const MDTabBarStyles: IMDTabBarStyle; export default class MDTabBar extends React.Component { static defaultProps: { styles: IMDTabBarStyle; }; constructor(props: IMDTabBarProps); private widthArr; private leftArr; componentWillReceiveProps(props: IMDTabBarProps): void; render(): JSX.Element; private renderItem; private onPress; private onLayout; } export {};