import './tabs.scss';
import { TypedEmitter } from 'tiny-typed-emitter';
export interface TabsItem {
    id: string;
    name: string;
}
export interface TabsOptions {
    id: string;
    items: TabsItem[];
    activeId: string;
}
export interface OnesTabsEvents {
    'change': (table: Tabs, id: string) => void;
}
export default class Tabs extends TypedEmitter<OnesTabsEvents> {
    private options;
    components: {
        root: HTMLElement;
        items: HTMLElement;
        indicator: HTMLElement;
    };
    constructor(options: TabsOptions);
    private handleClick;
    destroy(): void;
    getActiveId(): string | null;
    setActiveId(id: string): void;
    update(): void;
    private create;
}
