import { EventEmitter } from '../../stencil-public-runtime'; import { ButtonIconPositionType, ButtonSizeType, ButtonType } from "../../type/button"; import { HorizontalActionsAnimationType } from "../../type/animation"; import { DirectionType } from "../mds-tab/meta/type"; import { MdsTabItemEventDetail } from './meta/event-detail'; /** * @part button - The `mds-button` of the tab * @parent mds-tab */ export declare class MdsTabItem { private element; isSelected?: boolean; hasText: boolean; /** * Specifies if the button is awaiting for a response */ readonly await: boolean; /** * Specifies if the tab item is selected or not */ selected?: boolean; /** * Specifies if the tab item is disabled or not */ disabled?: boolean; /** * The icon displayed in the tab item */ readonly icon?: string; /** * The label of the tab item */ readonly label?: string; /** * Specifies the horizontal position of the icon displayed in the tab item */ readonly iconPosition?: ButtonIconPositionType; /** * The type of the tab item element */ readonly type?: ButtonType; /** * Specifies the size for the tab item */ readonly size?: ButtonSizeType; /** * Reflects the parent tab layout direction (set by mds-tab); drives the * vertical layout without :host-context */ readonly direction?: DirectionType; /** * Reflects the parent tab selection animation (set by mds-tab); drives the * slide-variant styling without :host-context */ readonly animation?: HorizontalActionsAnimationType; /** * Specifies an optional value to get from mdsTabItemSelect event */ readonly value?: string; /** * Turns the tab into a link to this URL: the item renders a real anchor and is announced as a * link, not as a tab, with `aria-current` when selected. A client-side router registered with * `NavigationService.setHandler()` (from `@maggioli-design-system/magma/services`) takes the * plain clicks over; without one, a click listener on the host can still cancel the navigation * with `preventDefault()`. */ readonly href?: string; /** * Specifies whether the popup the tab item opens is showing. Left unset the tab says nothing * about a popup, which is what a tab that opens none has to say. */ readonly expanded?: boolean; /** * Emits when the tab item is selected */ selectedEvent: EventEmitter; /** * Emits when the tab item is selected */ focusedEvent: EventEmitter; private isLink; private toggle; private focus; validateActive(newValue?: boolean): void; componentWillLoad(): void; render(): any; }