<commit_before>import * as React from 'react';
import { StandardProps } from '..';
import { Orientation } from './Stepper';
import { ButtonBaseProps, ButtonBaseClassKey } from '../ButtonBase';

export type StepButtonIcon = React.ReactElement<any> | string | number;

export interface StepButtonProps extends StandardProps<ButtonBaseProps, StepButtonClasskey> {
  active?: boolean;
  alternativeLabel?: boolean;
  children: React.ReactElement<any>;
  completed?: boolean;
  disabled?: boolean;
  icon?: StepButtonIcon;
  last?: boolean;
  optional?: React.ReactNode;
  orientation: Orientation;
}

export type StepButtonClasskey = ButtonBaseClassKey | 'root' | 'alternativeLabel';

declare const StepButton: React.ComponentType<StepButtonProps>;

export default StepButton;
<commit_msg>[StepButton] Fix TypeScript definition (#9796)<commit_after>import * as React from 'react';
import { StandardProps } from '..';
import { Orientation } from './Stepper';
import { ButtonBaseProps, ButtonBaseClassKey } from '../ButtonBase';

export type StepButtonIcon = React.ReactElement<any> | string | number;

export interface StepButtonProps extends StandardProps<ButtonBaseProps, StepButtonClasskey> {
  active?: boolean;
  alternativeLabel?: boolean;
  completed?: boolean;
  disabled?: boolean;
  icon?: StepButtonIcon;
  last?: boolean;
  optional?: React.ReactNode;
  orientation?: Orientation;
}

export type StepButtonClasskey = ButtonBaseClassKey | 'root' | 'alternativeLabel';

declare const StepButton: React.ComponentType<StepButtonProps>;

export default StepButton;

{'fraction_non_alphanumeric': 0.10912571793235482, 'fraction_numerical': 0.0025526483726866626, 'mean_word_length': 6.127272727272727, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1851772', 'n_tokens_mistral': 430, 'n_tokens_neox': 425, 'n_words': 122}