<commit_before>// Type definitions for react-input-mask 2.0
// Project: https://github.com/sanniassin/react-input-mask
// Definitions by: <NAME> <https://github.com/apare>
//                 <NAME> <https://github.com/dima7a14>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.9

import * as React from 'react';

export interface Selection {
  start: number;
  end: number;
}

export interface InputState {
  value: string;
  selection: Selection | null;
}

export interface MaskOptions {
  mask: string;
  maskChar: string;
  alwaysShowMask: boolean;
  formatChars: Record<string, string>;
  permanents: number[];
}

interface Props extends React.HTMLAttributes<HTMLInputElement> {<commit_msg>[react-input-mask] Change interface for React [ts 2.9] (#37075)<commit_after>// Type definitions for react-input-mask 2.0
// Project: https://github.com/sanniassin/react-input-mask
// Definitions by: <NAME> <https://github.com/apare>
//                 <NAME> <https://github.com/dima7a14>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.9

import * as React from 'react';

export interface Selection {
  start: number;
  end: number;
}

export interface InputState {
  value: string;
  selection: Selection | null;
}

export interface MaskOptions {
  mask: string;
  maskChar: string;
  alwaysShowMask: boolean;
  formatChars: Record<string, string>;
  permanents: number[];
}

interface Props extends React.InputHTMLAttributes<HTMLInputElement> {
{'fraction_non_alphanumeric': 0.12818835840418574, 'fraction_numerical': 0.013734466971877043, 'mean_word_length': 4.0495049504950495, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, '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': '227158', 'n_tokens_mistral': 479, 'n_tokens_neox': 471, 'n_words': 121}