<commit_before>import { Component, ReactNode } from 'react';
import { StateNavigator, State } from 'navigation';

/**
 * Adds handlers for JavaScript and Native Navigate events
 * @param stateNavigator State Navigator(s) that correspond to Native stack(s)
 */
export function addNavigateHandlers(stateNavigator: StateNavigator | StateNavigator[]);

/**
 * Defines the Scene Props contract
 */
export interface SceneProps {
    crumb?: number;
    renderScene?: (state: State, data: any) => ReactNode;
}

/**
 * Renders the scene for the crumb
 */
export class Scene extends Component<SceneProps> { }
<commit_msg>Added bar button typings to package<commit_after>import { Component, ReactNode } from 'react';
import { ImageURISource } from 'react-native';
import { StateNavigator, State } from 'navigation';

/**
 * Adds handlers for JavaScript and Native Navigate events
 * @param stateNavigator State Navigator(s) that correspond to Native stack(s)
 */
export function addNavigateHandlers(stateNavigator: StateNavigator | StateNavigator[]);

/**
 * Defines the Scene Props contract
 */
export interface SceneProps {
    crumb?: number;
    renderScene?: (state: State, data: any) => ReactNode;
}

/**
 * Renders the scene for the crumb
 */
export class Scene extends Component<SceneProps> { }

/**
 * Renders buttons in the left UI bar
 */
export class LeftBarIOS extends Component { }

/**
 * Renders buttons in the right UI bar
 */
export class RightBarIOS extends Component { }

/**
 * Defines the Bar Button Props contract
 */
export interface BarButtonIOSProps {
    title?: string;
    image?: ImageURISource;
    onPress?: () => void;
}

/**
 * Renders a button in the UI bar
 */
export class BarButtonIOS extends Component<BarButtonIOSProps> { }

{'fraction_non_alphanumeric': 0.10433295324971494, 'fraction_numerical': 0.0, 'mean_word_length': 4.416666666666667, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 9, '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': '1563346', 'n_tokens_mistral': 498, 'n_tokens_neox': 489, 'n_words': 178}