/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/tabset` displays a tabbed container with multiple content areas, only one of which is visible at a time. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-tabset/documentation |Lightning Tabset Documentation} */ declare module "lightning/tabset" { import { LightningElement } from "lwc"; /** * Displays a tabbed container with multiple content areas, only one of which is visible at a time. */ export default class LightningTabset extends LightningElement { /** Displays tooltip text when the mouse moves over the tabset. */ title: string; /** * Specifies text to use as custom assistive text for the tabset heading. * The text is placed in a div element with role="heading" and aria-level="2". * When heading-label isn't specified, the default assistive text is "Tabs" in * a div element with aria-level="2". */ headingLabel: string | null; /** * Determines whether the text that’s passed with the heading-label attribute * is visible above the tabset. This attribute isn't present by default so the * assistive text is only read by screen readers. */ headingVisible: boolean; /** * Specifies the value to pass through to aria-level when you specify heading-label. * Accepts values from 1 to 6. The default value is 2. */ headingLevel: number; /** The variant changes the appearance of the tabset. Accepted variants are standard, scoped, and vertical. */ variant: string; /** Sets a specific tab to open by default using a string that matches a tab's value string. If not used, the first tab opens by default. */ activeTabValue: string; /** Focus currently selected tab. */ focus(): void; } }