import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnChanges, QueryList, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare type SegmentOption = { label: string; value: string; disabled?: boolean; icon?: string; tooltip?: string; count?: number; }; export declare class SegmentControlComponent implements OnChanges, AfterViewInit, OnDestroy { segments: SegmentOption[]; /** * The currently selected segment value. * If not provided, defaults to the first enabled segment. */ value?: string; disabled: boolean; containerBgColor: string; /** When true, the control stretches to fill its parent and buttons share equal width. */ fullWidth: boolean; size: 'md' | 'lg'; get hostDisplay(): string; get hostWidth(): string; valueChange: EventEmitter; segmentButtons: QueryList>; segmentContainer?: ElementRef; indicatorStyle: Record; indicatorVisible: boolean; private buttonChangesSub?; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnDestroy(): void; trackByValue(_index: number, option: SegmentOption): string; isSelected(option: SegmentOption): boolean; select(option: SegmentOption, index: number): void; onKeyDown(event: KeyboardEvent, currentIndex: number): void; private moveSelection; private selectFirstEnabled; private selectLastEnabled; private getEnabledIndexes; private getSelectedIndex; /** * Ensures a valid value is selected. * If no value is provided or the value is invalid, defaults to the first enabled segment. */ private ensureSelectedValue; private focusButton; private updateIndicator; get isIndicatorVisible(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }