import { Component } from 'preact'; import { Alignments, Sizes } from '../../interface'; export interface StateType { activeIndex: number; } export interface PropsType { align?: Alignments | 'fullwidth'; isSize?: Sizes; isBoxed?: boolean; isToggle?: boolean | 'rounded'; activeIndex?: number; items: Item[]; showItems?: any[]; onTabs?: { (index: number): void; }; } export interface Item { title: string; icon?: string; } export declare class Tabs extends Component { props: PropsType; state: StateType; constructor(props: PropsType); componentWillReceiveProps(nextProps: PropsType): void; onClick: (activeIndex: number) => void; render(): JSX.Element; }