import type { DiffLine } from './diff-utils.js';
import type { BuildScriptChoice, PackageManager } from './workflow-generator.js';
export type BuildOnboardingWorkflowEvent = 'workflow-preview-prepared' | 'workflow-preview-action' | 'workflow-diff-opened' | 'workflow-diff-closed' | 'workflow-file-written';
export type BuildOnboardingWorkflowDecision = 'write' | 'view' | 'cancel' | 'escape' | 'close';
export type BuildOnboardingWorkflowState = 'new' | 'replace' | 'identical';
export interface WorkflowDiffTelemetry {
    workflowState: BuildOnboardingWorkflowState;
    diffLines: number;
    diffAdded: number;
    diffRemoved: number;
}
interface TrackBuildOnboardingWorkflowOptions extends WorkflowDiffTelemetry {
    event: BuildOnboardingWorkflowEvent;
    appId: string;
    platform: 'ios' | 'android';
    apikey?: string;
    /** Correlation id tying every event from one onboarding run together. */
    journeyId?: string;
    decision?: BuildOnboardingWorkflowDecision;
    packageManager?: PackageManager;
    buildScriptType?: BuildScriptChoice['type'];
}
export declare function getWorkflowDiffTelemetry(lines: DiffLine[], isNew: boolean): WorkflowDiffTelemetry;
export declare function trackBuildOnboardingWorkflowEvent(options: TrackBuildOnboardingWorkflowOptions): void;
export {};
