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<string | number>;
  readonly nzIcon: import("@angular/core").InputSignal<string | undefined>;
  readonly nzDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
  readonly hasLabel: import("@angular/core").Signal<boolean>;
  protected readonly showThumb: import("@angular/core").Signal<boolean>;
  protected readonly name: import("@angular/core").Signal<string | null>;
  protected readonly isChecked: import("@angular/core").WritableSignal<boolean>;
  protected readonly parentDisabled: import("@angular/core").Signal<boolean>;
  readonly finalDisabled: import("@angular/core").Signal<boolean>;
  ngOnInit(): void;
  handleClick(): void;
  handleKeydown(event: KeyboardEvent): void;
  static ɵfac: i0.ɵɵFactoryDeclaration<NzSegmentedItemComponent, never>;
  static ɵcmp: i0.ɵɵComponentDeclaration<NzSegmentedItemComponent, "label[nz-segmented-item],label[nzSegmentedItem]", ["nzSegmentedItem"], {
    "nzValue": {
      "alias": "nzValue";
      "required": true;
      "isSignal": true;
    };
    "nzIcon": {
      "alias": "nzIcon";
      "required": false;
      "isSignal": true;
    };
    "nzDisabled": {
      "alias": "nzDisabled";
      "required": false;
      "isSignal": true;
    };
  }, {}, never, ["*"], true, never>;
}
/**
 * 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<NzSegmentedOption | string | number>;
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<import("@angular/cdk/bidi").Direction>;
  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<string | number>;
  private viewItemCmps;
  private contentItemCmps;
  private renderedItemCmps;
  private isDisabledFirstChange;
  protected value?: number | string;
  protected readonly thumbStyle: import("@angular/core").WritableSignal<NgStyleInterface | null>;
  protected readonly thumbAnimationEnter: import("@angular/core").Signal<string>;
  protected readonly showThumb: import("@angular/core").Signal<boolean>;
  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<NzSegmentedComponent, never>;
  static ɵcmp: i0.ɵɵComponentDeclaration<NzSegmentedComponent, "nz-segmented", ["nzSegmented"], {
    "nzBlock": {
      "alias": "nzBlock";
      "required": false;
    };
    "nzDisabled": {
      "alias": "nzDisabled";
      "required": false;
    };
    "nzOptions": {
      "alias": "nzOptions";
      "required": false;
    };
    "nzVertical": {
      "alias": "nzVertical";
      "required": false;
    };
    "nzShape": {
      "alias": "nzShape";
      "required": false;
    };
    "nzSize": {
      "alias": "nzSize";
      "required": false;
    };
    "nzName": {
      "alias": "nzName";
      "required": false;
    };
  }, {
    "nzValueChange": "nzValueChange";
  }, ["contentItemCmps"], ["*"], true, never>;
  static ngAcceptInputType_nzBlock: unknown;
  static ngAcceptInputType_nzDisabled: unknown;
  static ngAcceptInputType_nzVertical: unknown;
}
export declare class NzSegmentedModule {
  static ɵfac: i0.ɵɵFactoryDeclaration<NzSegmentedModule, never>;
  static ɵmod: i0.ɵɵNgModuleDeclaration<NzSegmentedModule, never, [typeof NzSegmentedComponent, typeof NzSegmentedItemComponent], [typeof NzSegmentedComponent, typeof NzSegmentedItemComponent]>;
  static ɵinj: i0.ɵɵInjectorDeclaration<NzSegmentedModule>;
}