/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Direction, Directionality } from '@angular/cdk/bidi'; import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { ThumbAnimationProps } from 'ng-zorro-antd/core/animation'; import { NzConfigKey, NzConfigService } from 'ng-zorro-antd/core/config'; import { BooleanInput, NzSafeAny, NzSizeLDSType, OnChangeType, OnTouchedType } from 'ng-zorro-antd/core/types'; import { NzNormalizedOptions, NzSegmentedOption, NzSegmentedOptions } from './types'; import * as i0 from "@angular/core"; export declare class NzSegmentedComponent implements OnChanges, ControlValueAccessor { readonly nzConfigService: NzConfigService; private readonly cdr; private readonly directionality; static ngAcceptInputType_nzDisabled: BooleanInput; static ngAcceptInputType_nzBlock: BooleanInput; readonly _nzModuleName: NzConfigKey; listOfOptions: QueryList; nzBlock: boolean; nzDisabled: boolean; nzOptions: NzSegmentedOptions; nzSize: NzSizeLDSType; nzLabelTemplate: TemplateRef<{ $implicit: NzSegmentedOption; index: number; }> | null; readonly nzValueChange: EventEmitter; dir: Direction; selectedIndex: number; transitionedToIndex: number; animationState: null | { value: string; params: ThumbAnimationProps; }; normalizedOptions: NzNormalizedOptions; private destroy$; onChange: OnChangeType; onTouched: OnTouchedType; constructor(nzConfigService: NzConfigService, cdr: ChangeDetectorRef, directionality: Directionality); ngOnChanges(changes: SimpleChanges): void; handleOptionClick(index: number): void; handleThumbAnimationDone(e: NzSafeAny): void; writeValue(value: number | null): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; private changeSelectedIndex; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }