<commit_before>declare module pip.errors {


export class ErrorPageConfig {
    Active: boolean;
    Name: string;
    Event: string;
    Title: string;
    SubTitle: String;
    Breadcrumb: string;
    Image: string;
    Params?: any;
}
export class ErrorPageConfigs {
    Maintenance: ErrorPageConfig;
    MissingRoute: ErrorPageConfig;
    NoConnection: ErrorPageConfig;
    Unknown: ErrorPageConfig;
    Unsupported: ErrorPageConfig;
}
export class SupportedBrowsers {
    edge: number;
    ie: number;
    firefox: number;
    opera: number;
    chrome: number;
}


export interface IErrorPageConfigService {
    getErrorPageConfig(pageName: string): ErrorPageConfig;
    configs: ErrorPageConfigs;
}
export interface IErrorPageConfigProvider extends ng.IServiceProvider {
    setErrorPageConfig(pageName: string, config: ErrorPageConfig): void;
    setAllErrorPageConfigs(configs: ErrorPageConfigs): void;
    setSupportedBrowsers(browsers: SupportedBrowsers): void;
    configs: ErrorPageConfigs;
}



export interface IFormErrorsService {
    errorsWithHint(field: any): any;
    touchedErrorsWithHint(form: ng.IFormController, field: any): any;
    resetFormErrors(form: ng.IFormController, errors?: boolean): void;
    resetFieldsErrors(form: ng.IFormController, field: any): void;
    setFormError(form: ng.IFormController, error: any, errorFieldMap: any): void;
    goToUnhandledErrorPage(error: any): any;
}


export let ErrorsMaintenanceState: string;
export let MaintenanceErrorEvent: string;

export let ErrorsMissingRouteState: string;
export let StateNotFoundEvent: string;

export let ErrorsConnectionState: string;
export let ErrorsConnectionEvent: string;


export let ErrorsUnknownState: string;
export let ErrorsUnknownEvent: string;

export let ErrorsUnsupportedState: string;
export let ErrorsUnsupportedEvent: string;


}
<commit_msg>'rebuild'<commit_after>declare module pip.errors {


export class ErrorPageConfig {
    Active: boolean;
    Name: string;
    Event: string;
    Title: string;
    SubTitle: String;
    Breadcrumb: string;
    Image: string;
    Params?: any;
}
export class ErrorPageConfigs {
    Maintenance: ErrorPageConfig;
    MissingRoute: ErrorPageConfig;
    NoConnection: ErrorPageConfig;
    Unknown: ErrorPageConfig;
    Unsupported: ErrorPageConfig;
}
export class SupportedBrowsers {
    edge: number;
    ie: number;
    firefox: number;
    opera: number;
    chrome: number;
}


export interface IErrorPageConfigService {
    getErrorPageConfig(pageName: string): ErrorPageConfig;
    configs: ErrorPageConfigs;
}
export interface IErrorPageConfigProvider extends ng.IServiceProvider {
    setErrorPageConfig(pageName: string, config: ErrorPageConfig): void;
    setAllErrorPageConfigs(configs: ErrorPageConfigs): void;
    setSupportedBrowsers(browsers: SupportedBrowsers): void;
    configs: ErrorPageConfigs;
}

export let ErrorsMaintenanceState: string;
export let MaintenanceErrorEvent: string;




export interface IFormErrorsService {
    errorsWithHint(field: any): any;
    touchedErrorsWithHint(form: ng.IFormController, field: any): any;
    resetFormErrors(form: ng.IFormController, errors?: boolean): void;
    resetFieldsErrors(form: ng.IFormController, field: any): void;
    setFormError(form: ng.IFormController, error: any, errorFieldMap: any): void;
    goToUnhandledErrorPage(error: any): any;
}

export let ErrorsMissingRouteState: string;
export let StateNotFoundEvent: string;

export let ErrorsConnectionState: string;
export let ErrorsConnectionEvent: string;


export let ErrorsUnknownState: string;
export let ErrorsUnknownEvent: string;

export let ErrorsUnsupportedState: string;
export let ErrorsUnsupportedEvent: string;


}

{'fraction_non_alphanumeric': 0.07965554359526372, 'fraction_numerical': 0.0, 'mean_word_length': 5.164179104477612, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2197142', 'n_tokens_mistral': 1095, 'n_tokens_neox': 1078, 'n_words': 290}