import * as i0 from "@angular/core"; import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { ControlValueAccessor } from "@angular/forms"; import { NzConfigKey } from "ng-zorro-antd/core/config"; import { NgStyleInterface, NzSizeLDSType, OnChangeType, OnTouchedType } from "ng-zorro-antd/core/types"; declare namespace segmented_item_component_d_exports { export { NzSegmentedItemComponent }; } export declare class NzSegmentedItemComponent implements OnInit { private readonly service; private readonly elementRef; private readonly destroyRef; private readonly templateRef; readonly nzValue: import("@angular/core").InputSignal; readonly nzIcon: import("@angular/core").InputSignal; readonly nzDisabled: import("@angular/core").InputSignalWithTransform; readonly hasLabel: import("@angular/core").Signal; protected readonly showThumb: import("@angular/core").Signal; protected readonly name: import("@angular/core").Signal; protected readonly isChecked: import("@angular/core").WritableSignal; protected readonly parentDisabled: import("@angular/core").Signal; readonly finalDisabled: import("@angular/core").Signal; ngOnInit(): void; handleClick(): void; handleKeydown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * 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 */ export type NzSegmentedOption = { value: string | number; disabled?: boolean; } & (NzSegmentedWithLabel | NzSegmentedWithIcon); export interface NzSegmentedWithLabel { label: string; icon?: string; } export interface NzSegmentedWithIcon { icon: string; label?: string; } export type NzSegmentedOptions = Array; export declare function normalizeOptions(unnormalized: NzSegmentedOptions): NzSegmentedOption[]; declare namespace segmented_component_d_exports { export { NzSegmentedComponent }; } export declare class NzSegmentedComponent implements OnChanges, ControlValueAccessor { readonly _nzModuleName: NzConfigKey; private readonly service; private readonly injector; protected readonly dir: import("@angular/core").WritableSignal; nzBlock: boolean; nzDisabled: boolean; nzOptions: NzSegmentedOptions; nzVertical: boolean; nzShape: 'default' | 'round'; nzSize: NzSizeLDSType; /** * @description set the `name` attribute of the segmented item native `input[type="radio"]` * @since 20.3.0 */ nzName?: string; readonly nzValueChange: EventEmitter; private viewItemCmps; private contentItemCmps; private renderedItemCmps; private isDisabledFirstChange; protected value?: number | string; protected readonly thumbStyle: import("@angular/core").WritableSignal; protected readonly thumbAnimationEnter: import("@angular/core").Signal; protected readonly showThumb: import("@angular/core").Signal; protected normalizedOptions: NzSegmentedOption[]; protected onChange: OnChangeType; protected onTouched: OnTouchedType; constructor(); ngOnChanges(changes: SimpleChanges): void; private onOffset; private onKeyDown; writeValue(value: number | string): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; setDisabledState(disabled: boolean): void; /************* Thumb Animation *************/ private calcThumbStyle; private getThumbStyle; protected handleTransitionEnd(event: TransitionEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzBlock: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzVertical: unknown; } export declare class NzSegmentedModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }