<commit_before>export const ENTERING = 'entering';
export const ENTERED = 'entered';
export const EXITING = 'exiting';
export const EXITED = 'exited';

export const PARALLEL = 'parallel';
export const SEQUENCE = 'sequence';
export const STAGGER = 'stagger';

export type AnimatorFlowValue = typeof ENTERING | typeof ENTERED | typeof EXITING | typeof EXITED;

export interface AnimatorFlow {
  value: AnimatorFlowValue
  [ENTERING]?: boolean
  [ENTERED]?: boolean
  [EXITING]?: boolean
  [EXITED]?: boolean
  hasEntered?: boolean
  hasExited?: boolean
}

export interface AnimatorDuration {
  enter: number
  exit: number
  stagger: number
  delay: number
  offset: number
}

export interface AnimatorSettingsDuration {
  enter?: number
  exit?: number
  stagger?: number
  delay?: number
  offset?: number
}

export type AnimatorSettingsManagerCustom = (status: AnimatorSettingsManagerStatus) => AnimatorChildrenActivations;

export type AnimatorSettingsManager = typeof PARALLEL | typeof SEQUENCE | typeof STAGGER | AnimatorSettingsManagerCustom;

export type AnimatorSettingsUseAnimate = (animator: AnimatorProvidedSettings, refs: any) => void;

export type AnimatorSettingsOnTransition = (flow: AnimatorFlow) => void;
<commit_msg>refactor(animation): use typescript Partial<> helper to dry up definitions<commit_after>export const ENTERING = 'entering';
export const ENTERED = 'entered';
export const EXITING = 'exiting';
export const EXITED = 'exited';

export const PARALLEL = 'parallel';
export const SEQUENCE = 'sequence';
export const STAGGER = 'stagger';

export type AnimatorFlowValue = typeof ENTERING | typeof ENTERED | typeof EXITING | typeof EXITED;

export interface AnimatorFlow {
  value: AnimatorFlowValue
  [ENTERING]?: boolean
  [ENTERED]?: boolean
  [EXITING]?: boolean
  [EXITED]?: boolean
  hasEntered?: boolean
  hasExited?: boolean
}

export interface AnimatorDuration {
  enter: number
  exit: number
  stagger: number
  delay: number
  offset: number
}

export type AnimatorSettingsDuration = Partial<AnimatorDuration>;

export type AnimatorSettingsManagerCustom = (status: AnimatorSettingsManagerStatus) => AnimatorChildrenActivations;

export type AnimatorSettingsManager = typeof PARALLEL | typeof SEQUENCE | typeof STAGGER | AnimatorSettingsManagerCustom;

export type AnimatorSettingsUseAnimate = (animator: AnimatorProvidedSettings, refs: any) => void;

export type AnimatorSettingsOnTransition = (flow: AnimatorFlow) => void;

{'fraction_non_alphanumeric': 0.08495934959349594, 'fraction_numerical': 0.0, 'mean_word_length': 5.971671388101983, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6628092', 'n_tokens_mistral': 708, 'n_tokens_neox': 730, 'n_words': 223}