import { EventEmitter } from '../../stencil-public-runtime'; import { Breakpoint } from '../../utils/breakpoints'; /** * A single tab inside a tabs component. */ export declare class CatTab { hostElement: HTMLElement; /** * The label of the tab. */ label: string; /** * The name of an icon to be displayed in the tab. */ icon?: string; /** * Hide the actual button content and only display the tab. */ iconOnly: boolean | Breakpoint; /** * Display the icon on the right. */ iconRight: boolean; /** * A destination to link to, rendered in the href attribute of a link. */ url?: string; /** * Specifies where to open the linked document. */ urlTarget?: '_blank' | '_self'; /** * Specifies that the tab should be deactivated. */ deactivated: boolean; /** * Specifies that the tab does not have an active state and thus cannot be * activated. This does not mean, that the tab is deactivated. The tab can * still be clicked and emit the `catClick` event. This is helpful if a tab * should only trigger a click action (such as opening a modal). */ noActive: boolean; /** * Specifies that the tab is always visible in adaptive mode. * Only the first sticky tab will be taken into account. * Sticky has advantage on activeTabAlwaysVisible if there is no space to show both. */ sticky: boolean; /** * Specifies that the tab content pane contains an error. This will color * the tab in an error state and also switch to an error icon if an icon * is specified. */ error: boolean; /** * Attributes that will be added to the native HTML button element */ nativeAttributes?: { [key: string]: string; }; /** * A unique identifier for the underlying native element that is used for * testing purposes. The attribute is added as `data-test` attribute and acts * as a shorthand for `nativeAttributes={ 'data-test': 'test-Id' }`. */ testId?: string; /** * Emitted when tab is clicked. */ catClick: EventEmitter; connectedCallback(): void; onClick(event: MouseEvent): void; render(): any; }