/**
 *
 * carbon-angular v0.0.0 | tab-headers.component.d.ts
 *
 * Copyright 2014, 2026 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


import { QueryList, EventEmitter, AfterContentInit, ElementRef, OnChanges, SimpleChanges, OnDestroy, OnInit, ChangeDetectorRef, Renderer2 } from "@angular/core";
import { EventService } from "carbon-components-angular/utils";
import { I18n } from "carbon-components-angular/i18n";
import { BaseTabHeader } from "./base-tab-header.component";
import { Tab } from "./tab.component";
import * as i0 from "@angular/core";
/**
 * The `TabHeaders` component contains the `Tab` items and controls scroll functionality
 * if content has overflow.
 */
export declare class TabHeaders extends BaseTabHeader implements AfterContentInit, OnChanges, OnDestroy, OnInit {
    protected elementRef: ElementRef;
    protected changeDetectorRef: ChangeDetectorRef;
    protected eventService: EventService;
    protected renderer: Renderer2;
    protected i18n: I18n;
    /**
     * List of `Tab` components.
     */
    tabInput: QueryList<Tab>;
    /**
     * i18n strings for overflow controls and the tab list `aria-label` fallback.
     */
    translations: any;
    /**
     * Emits when a tab close control is used (with `dismissable`).
     * The emitted value is the tab index.
     */
    tabClose: EventEmitter<number>;
    /**
     * Gets the Unordered List element that holds the `Tab` headings from the view DOM.
     */
    headerContainer: ElementRef<HTMLElement>;
    /**
     * ContentChild of all the tabs
     */
    tabQuery: QueryList<Tab>;
    /**
     * Set to tabQuery if tabInput is empty
     */
    tabs: QueryList<Tab>;
    /**
     * The index of the first visible tab.
     */
    firstVisibleTab: number;
    /**
     * The DOM element containing the `Tab` headings displayed.
     */
    allTabHeaders: QueryList<ElementRef>;
    /**
     * Focused tab index when `followFocus` is false (manual activation).
     */
    activeIndex: number | null;
    get tallClass(): boolean;
    get fullWidthClass(): boolean;
    private resizeObserver;
    constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, eventService: EventService, renderer: Renderer2, i18n: I18n);
    get hasSecondaryLabelTabs(): boolean;
    /**
     * True when `fullWidth` applies (contained, fewer than 9 tabs).
     */
    get distributeWidth(): boolean;
    /**
     * Controls the keydown events used for tabbing through the headings.
     */
    keyboardInput(event: any): void;
    handleBlur(event: FocusEvent): void;
    /**
     * `Delete` closes dismissable tabs.
     */
    handleTabKeyDown(event: KeyboardEvent, tab: Tab, index: number): void;
    ngOnInit(): void;
    ngOnDestroy(): void;
    ngAfterContentInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    /**
     * Controls manually focusing tabs.
     */
    onTabFocus(ref: HTMLElement, index: number): void;
    getSelectedTab(): any;
    /**
     * Selects `Tab` 'tab' and moves it into view on the view DOM if it is not already.
     */
    selectTab(ref: HTMLElement, tab: Tab, tabIndex: number): void;
    /**
     * Emit close index and move focus to a nearby enabled tab.
     */
    handleClose(event: Event, tab: Tab, tabIndex: number): void;
    getCloseTitle(tab: Tab): string;
    /**
     * Scroll the given tab element into view if it is not already visible.
     */
    protected scrollTabIntoView(tabEl: HTMLElement | null): void;
    /**
     * Determines which `Tab` is initially selected.
     */
    protected setFirstTab(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaders, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaders, "cds-tab-headers, ibm-tab-headers", never, { "tabInput": "tabs"; "translations": "translations"; }, { "tabClose": "tabClose"; }, ["tabQuery"], never, false>;
}
