import type { AndroidOnboardingErrorCategory } from './android/types.js';
import type { OnboardingErrorCategory, OnboardingStep } from './types.js';
export declare function mapIosOnboardingError(error: unknown, failedStep?: OnboardingStep): OnboardingErrorCategory;
export declare function mapAndroidOnboardingError(error: unknown): AndroidOnboardingErrorCategory;
/**
 * Map a `ValidationResult.kind` from the SA-import validation module onto an
 * AndroidOnboardingErrorCategory so PostHog `Builder Onboarding Step` events
 * for `sa-json-validation-failed` carry an actionable failure dimension.
 *
 * Kept here (alongside `mapAndroidOnboardingError`) so the full SA-error
 * taxonomy lives in one place.
 */
export declare function mapSaValidationKindToCategory(kind: 'shape-error' | 'token-error' | 'no-app-access' | 'network-error'): AndroidOnboardingErrorCategory;
