import * as i0 from '@angular/core'; import { OnChanges, OnInit, OnDestroy, ChangeDetectorRef, ElementRef, Renderer2, AfterContentInit, EventEmitter, QueryList, SimpleChanges } from '@angular/core'; import { DestroyCtor, FormAccessorCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { Size, WidthState, Themes } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { TooltipDirective } from '@usitsdasdesign/dds-ng/tooltip'; interface SegmentedOptions { size?: Size | string; width?: WidthState | string; theme?: Themes | string; type?: SegmentedType | string; customClass?: string; disabled?: boolean; isInverse?: boolean; } interface SegmentedItemOptions { value: string; heading?: string; ariaLabel?: string; icon?: string; maxWidth?: string; customClass?: string; } declare enum SegmentedType { icon = "icon", text = "text" } declare class SegmentedControlItemComponent implements OnChanges, OnInit, OnDestroy { cdr: ChangeDetectorRef; private elementRef; private el; private renderer; segmentedControl: SegmentedControlComponent; maxWidth: string | undefined; get maxWidthClass(): number; segment: ElementRef; tooltip: TooltipDirective; value: string | undefined; heading: string | undefined; ariaLabel: string | undefined; icon: string | undefined; customClass: string | undefined; disabled: boolean; private _active; private _type; private nextSibling; get isInverse(): boolean; get active(): boolean; set active(value: boolean); set type(value: string | SegmentedType); get type(): string | SegmentedType; get isIconType(): boolean; constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, el: ElementRef, renderer: Renderer2, segmentedControl: SegmentedControlComponent); ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; togglePreviousDivider(): void; selectSegment(): void; setActiveClass(): void; removeActiveClass(): void; focus(): void; unFocus(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const SegmentedControlBase: DestroyCtor & FormAccessorCtor; declare class SegmentedControlComponent extends SegmentedControlBase implements OnInit, OnChanges, AfterContentInit { cdr: ChangeDetectorRef; private ddsConfig; value: string | undefined; size: Size | string | undefined; width: WidthState | string | undefined; theme: Themes | string | undefined; type: SegmentedType | string | undefined; customClass: string | undefined; disabled: boolean | undefined; isInverse: boolean | undefined; segmentChanged: EventEmitter; items: QueryList; segmentedControl: ElementRef; isMdSize: boolean; isLgSize: boolean; isFullWidth: boolean; isIconType: boolean; isBlueTheme: boolean; isDarkTheme: boolean; private segments; private keyManager; get tabIndex(): number; constructor(cdr: ChangeDetectorRef, ddsConfig: DdsConfigService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngAfterContentInit(): void; writeValue(value: string): void; addSegment(segment: SegmentedControlItemComponent): void; removeSegment(segment: SegmentedControlItemComponent): void; changeSegment(value: string): void; activeSegment(segmentValue: string): void; reset(): void; handleFocus(): void; handleKeydown(event: KeyboardEvent): void; private initKeyManager; unFocus(): void; private checkSize; private checkTheme; private setActiveSegment; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SegmentedControlModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SegmentedControlComponent, SegmentedControlItemComponent, SegmentedControlModule, SegmentedType }; export type { SegmentedItemOptions, SegmentedOptions };