import { EventEmitter } from "../../stencil-public-runtime"; import { IcTabClickEventDetail } from "./ic-tab.types"; import { IcThemeMode } from "../../utils/types"; /** * @slot icon - Content will be rendered next to the tab label. * @slot badge - Badge component displayed inline with the tab. */ export declare class Tab { private focusFromClick; private focusTabId; private isInitialRender; el: HTMLIcTabElement; /** @internal The unique context needed if using multiple tabs inside one another i.e. rendering another tabs inside a tab panel. */ contextId?: string; /** * If `true`, the disabled state will be set. */ disabled?: boolean; watchDisabledHandler(): void; /** @internal Determines whether black variant of the tabs should be displayed. */ monochrome?: boolean; /** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */ selected?: boolean; /** @internal The shared ID between panel and tab. */ tabId: string; /** @internal The position of the tab inside the tabs array in context. */ tabPosition: number; /** @internal Determines whether the light or dark variant of the tabs should be displayed. */ theme?: IcThemeMode; disabledWatchHandler(): void; /** * @internal Emitted when a tab is selected. */ tabClick: EventEmitter; /** * @internal Emitted when a tab is dynamically created. */ tabCreated: EventEmitter; /** * @internal Emitted when a tab's disabled prop changes */ tabEnabled: EventEmitter; /** * @internal Emitted when a tab is focussed. */ tabFocus: EventEmitter; /** * @internal Emitted when a tab is unmounted. */ tabRemoved: EventEmitter; connectedCallback(): void; disconnectedCallback(): void; componentWillLoad(): void; componentDidUpdate(): void; /** * Sets focus on the tab. */ setFocus(): Promise; private handleClick; private handleFocus; private handleMouseDown; render(): any; }