<commit_before>// Type definitions for angular-strap v2.2.x
// Project: http://mgcrea.github.io/angular-strap/
// Definitions by: <NAME> <https://github.com/samherrmann>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3


/// <reference types="angular" />

declare namespace mgcrea.ngStrap {

    ///////////////////////////////////////////////////////////////////////////
    // Modal
    // see http://mgcrea.github.io/angular-strap/#/modals
    ///////////////////////////////////////////////////////////////////////////

    namespace modal {

        interface IModalService {
            (config?: IModalOptions): IModal;
        }

        interface IModalProvider {
            defaults: IModalOptions;
        }

        interface IModal {
            $promise: ng.IPromise<void>;
            show: () => void;
            hide: () => void;
            toggle: () => void;
        }

        interface IModalOptions {
            animation?: string;
            backdropAnimation?: string;
            placement?: string;
            title?: string;
            content?: string;
            html?: boolean;
            backdrop?: boolean | string;
            keyboard?: boolean;
            show?: boolean;
            container?: string | boolean;
            template?: string;
            templateUrl?: string;
            contentTemplate?: string;
            prefixClass?:  string;
            prefixEvent?: string;
            id?: string;
            scope?: ng.IScope;
        }

        interface IModalScope extends ng.IScope {
            $show: () => void;
            $hide: () => void;
            $toggle: () => void;
        }
    }


    ///////////////////////////////////////////////////////////////////////////
    // Aside
    // see http://mgcrea.github.io/angular-strap/#/asides
    ///////////////////////////////////////////////////////////////////////////

    namespace aside {

        interface IAsideService {
            (config?: IAsideOptions): IAside;
        }

        interface IAsideProvider {
            defaults: IAsideOptions;
        }

        interface IAside {<commit_msg>Append missing callbacks<commit_after>// Type definitions for angular-strap v2.2.x
// Project: http://mgcrea.github.io/angular-strap/
// Definitions by: <NAME> <https://github.com/samherrmann>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3


/// <reference types="angular" />

declare namespace mgcrea.ngStrap {

    ///////////////////////////////////////////////////////////////////////////
    // Modal
    // see http://mgcrea.github.io/angular-strap/#/modals
    ///////////////////////////////////////////////////////////////////////////

    namespace modal {

        interface IModalService {
            (config?: IModalOptions): IModal;
        }

        interface IModalProvider {
            defaults: IModalOptions;
        }

        interface IModal {
            $promise: ng.IPromise<void>;
            show: () => void;
            hide: () => void;
            toggle: () => void;
        }

        interface IModalOptions {
            animation?: string;
            backdropAnimation?: string;
            placement?: string;
            title?: string;
            content?: string;
            html?: boolean;
            backdrop?: boolean | string;
            keyboard?: boolean;
            show?: boolean;
            container?: string | boolean;
            template?: string;
            templateUrl?: string;
            contentTemplate?: string;
            prefixClass?:  string;
            prefixEvent?: string;
            id?: string;
            scope?: ng.IScope;
            onBeforeHide?: (modal: IModal) => void;
            onHide?: (modal: IModal) => void;
            onBeforeShow?: (modal: IModal) => void;
            onShow?: (modal: IModal) => void;
        }

        interface IModalScope extends ng.IScope {
            $show: () => void;
            $hide: () => void;
            $toggle: () => void;
        }
    }


    ///////////////////////////////////////////////////////////////////////////
    // Aside
    // see http://mgcrea.github.io/angular-strap/#/asides
    ///////////////////////////////////////////////////////////////////////////

    namespace aside {

        interface IAsideService {
            (config?: IAsideOptions): IAside;
        }

        interface IAsideProvider {
            defaults: IAsideOptions;
        }

        interface IAside {
{'fraction_non_alphanumeric': 0.23413134197232593, 'fraction_numerical': 0.0017570832418185812, 'mean_word_length': 1.12704343764596, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 27, 'https://': 4, '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': '3197980', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1057, 'n_words': 238}