## API Report File for "@aws-amplify/cli-internal"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

/// <reference types="node" />

import { CommandLineInput } from '@aws-amplify/amplify-cli-core/src/types';
import { CommandLineInput as CommandLineInput_2 } from '@aws-amplify/amplify-cli-core';
import { IAmplifyLogger } from '@aws-amplify/amplify-cli-logger';
import { ICommandInput } from '@aws-amplify/amplify-cli-shared-interfaces';
import { IFlowData } from '@aws-amplify/amplify-cli-shared-interfaces';
import { IFlowReport } from '@aws-amplify/amplify-cli-shared-interfaces';
import { InputOptions } from '@aws-amplify/amplify-cli-core';
import { IPluginPlatform } from '@aws-amplify/amplify-cli-core';
import { IUsageData } from '@aws-amplify/amplify-cli-core';
import { IUsageDataPayload } from '@aws-amplify/amplify-cli-core';
import { ProjectSettings } from '@aws-amplify/amplify-cli-core';
import { StartableTimedCodePath } from '@aws-amplify/amplify-cli-core';
import { StoppableTimedCodePath } from '@aws-amplify/amplify-cli-core';
import { TimedCodePath } from '@aws-amplify/amplify-cli-core';
import { TypeOptionFlowData } from '@aws-amplify/amplify-cli-shared-interfaces';
import { UrlWithStringQuery } from 'url';

// Warning: (ae-forgotten-export) The symbol "CLIInput" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const execute: (input: CLIInput) => Promise<void>;

// Warning: (ae-forgotten-export) The symbol "Context" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export const executeAmplifyCommand: (context: Context) => Promise<void>;

// @public (undocumented)
export const run: (startTime: number) => Promise<void>;

// @public (undocumented)
export class UsageData implements IUsageData {
    // (undocumented)
    accountId: string;
    // (undocumented)
    assignProjectIdentifier(): string | undefined;
    // (undocumented)
    calculatePushNormalizationFactor(events: {
        StackId: string;
        PhysicalResourceId: string;
    }[], StackId: string): void;
    // (undocumented)
    codePathDurations: Map<TimedCodePath, number>;
    // Warning: (ae-forgotten-export) The symbol "Timer" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    codePathTimers: Map<TimedCodePath, Timer>;
    // (undocumented)
    emitAbort(): Promise<void>;
    // (undocumented)
    emitError(error: Error | null): Promise<void>;
    // (undocumented)
    emitSuccess(): Promise<void>;
    // Warning: (ae-forgotten-export) The symbol "CLIFlowReport" needs to be exported by the entry point index.d.ts
    //
    // (undocumented)
    flow: CLIFlowReport;
    // (undocumented)
    getFlowReport(): IFlowReport;
    // (undocumented)
    getSessionUuid(): string;
    // (undocumented)
    getUsageDataPayload(error: Error | null, state: string): IUsageDataPayload;
    // (undocumented)
    init(installationUuid: string, version: string, input: CLIInput, accountId: string, projectSettings: ProjectSettings, processStartTimeStamp: number): void;
    // (undocumented)
    input: CLIInput;
    // (undocumented)
    inputOptions: InputOptions;
    // (undocumented)
    installationUuid: string;
    // (undocumented)
    static get Instance(): IUsageData;
    // (undocumented)
    projectSettings: ProjectSettings;
    // (undocumented)
    pushHeadlessFlow(headlessParameterString: string, input: ICommandInput): void;
    // (undocumented)
    pushInteractiveFlow(prompt: string, input: unknown): void;
    // (undocumented)
    pushNormalizationFactor: number;
    // (undocumented)
    requestTimeout: number;
    // (undocumented)
    sessionUuid: string;
    // (undocumented)
    setIsHeadless(isHeadless: boolean): void;
    // (undocumented)
    startCodePathTimer(codePath: StartableTimedCodePath): void;
    // (undocumented)
    stopCodePathTimer(codePath: StoppableTimedCodePath): void;
    // (undocumented)
    url: UrlWithStringQuery;
    // (undocumented)
    version: string;
}

// (No @packageDocumentation comment for this package)

```
