import type { AndroidOnboardingErrorCategory, AndroidOnboardingStep } from './android/types.js';
import type { OnboardingErrorCategory, OnboardingStep, Platform } from './types.js';
export interface TrackBuilderOnboardingStepInput {
    apikey: string;
    appId: string;
    orgId: string;
    platform: Platform;
    step: OnboardingStep | AndroidOnboardingStep;
    durationMs?: number;
    /** Step whose elapsed time is represented by durationMs. */
    durationStep?: OnboardingStep | AndroidOnboardingStep;
    /** Raw caught error — mapped via the platform's category mapper. Use this OR errorCategory, not both. */
    error?: unknown;
    /** Pre-computed category. Takes precedence over `error` if both are present. */
    errorCategory?: OnboardingErrorCategory | AndroidOnboardingErrorCategory;
}
export type BuilderOnboardingAction = 'resume_prompt_decision' | 'android_sa_method_selected' | 'android_sa_validation_recovery_selected' | 'android_sa_validation_result';
export interface TrackBuilderOnboardingActionInput {
    apikey: string;
    appId: string;
    orgId: string;
    platform: Platform;
    step: OnboardingStep | AndroidOnboardingStep;
    action: BuilderOnboardingAction;
    tags?: Record<string, boolean | number | string>;
}
export declare function trackBuilderOnboardingStep(input: TrackBuilderOnboardingStepInput): Promise<void>;
export declare function trackBuilderOnboardingAction(input: TrackBuilderOnboardingActionInput): Promise<void>;
