<commit_before>// Type definitions for Alexa SDK for Node.js v1.0.3
// Project: https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
// Definitions by: <NAME> <https://github.com/petebeegle>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module 'alexa-sdk' {
    export function handler(event: RequestBody, context: Context, callback?: Function): AlexaHandler;
    export function CreateStateHandler(state: string, obj: any): any;
    export var StateString: string;

    interface AlexaHandler {
        _event: any;
        _context: any;
        _callback: any;
        state: any;
        appId: any;
        response: any;
        dynamoDBTableName: any;
        saveBeforeResponse: boolean;
        registerHandlers: (...handlers: Handlers[]) => any;
        execute: () => void;
    }

    interface Handlers {
        [intent: string]: () => void;
    }

    interface Handler {
        on: any;
        emit(event: string, ...args: any[]): boolean;
        emitWithState: any;
        state: any;
        handler: any;
        event: RequestBody;<commit_msg>AlexaHandler -> AlexaObject<commit_after>// Type definitions for Alexa SDK for Node.js v1.0.3
// Project: https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs
// Definitions by: <NAME> <https://github.com/petebeegle>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module 'alexa-sdk' {
    export function handler(event: RequestBody, context: Context, callback?: Function): AlexaObject;
    export function CreateStateHandler(state: string, obj: any): any;
    export var StateString: string;

    interface AlexaObject {
        _event: any;
        _context: any;
        _callback: any;
        state: any;
        appId: any;
        response: any;
        dynamoDBTableName: any;
        saveBeforeResponse: boolean;
        registerHandlers: (...handlers: Handlers[]) => any;
        execute: () => void;
    }

    interface Handlers {
        [intent: string]: () => void;
    }

    interface Handler {
        on: any;
        emit(event: string, ...args: any[]): boolean;
        emitWithState: any;
        state: any;
        handler: any;
        event: RequestBody;
{'fraction_non_alphanumeric': 0.12386980108499096, 'fraction_numerical': 0.0027124773960217, 'mean_word_length': 2.5693548387096774, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 14, 'https://': 6, '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': '1273322', 'n_tokens_mistral': 665, 'n_tokens_neox': 644, 'n_words': 172}