import { EventEmitter } from '../../stencil-public-runtime'; /** * `mud-tab` — single tab item inside a `mud-tabs` tablist. * * Pattern A child: rendered as a slotted child of `mud-tabs`. Owns its own * `role="tab"` host with `aria-selected`, an optional leading icon, the * label, and an optional trailing numbered badge. * * The component is intentionally light: selection, focus management and * `aria-controls` wiring are all driven by the parent `mud-tabs` via * reflected attributes and DOM ids. * * @element mud-tab * @slot - Default slot — typically a text label. Falls back to the `label` prop. * @slot icon-start - Optional leading icon. Falls back to a `mud-icon` resolved from `iconName`. * @slot badge - Optional trailing badge. Falls back to a numbered badge when `badgeCount` is provided. */ export declare class MudTab { /** Identity of the tab. Used by the parent `mud-tabs` to track selection. */ value: string; /** Whether this tab is the active one. Mirrors `aria-selected` and the indicator. */ selected: boolean; /** Disables the tab. Suppresses click + keyboard activation. */ disabled: boolean; /** Size rung. Reflected so styles cascade independently. */ size: 'md' | 'sm'; /** Optional plain-text label when no default slot content is provided. */ label?: string; /** Optional leading icon name resolved against the `mud-icon` registry. */ iconName?: string; /** Optional numbered badge displayed after the label. */ badgeCount?: number; /** Id of the panel this tab controls. Set by the parent `mud-tabs`. */ panelId?: string; private hasLabelSlot; host: HTMLMudTabElement; /** * Fires when the user clicks or keyboard-activates the tab. The parent * `mud-tabs` listens for this event to drive selection. */ mudTabActivate: EventEmitter<{ value: string; }>; private readonly instanceId; private readonly internalId; componentWillLoad(): void; private onLabelSlotChange; private handleClick; handleKeyDown(ev: KeyboardEvent): void; render(): any; }