import type { OnboardingProgress, OnboardingStep } from './types.js';
/**
 * Load onboarding progress for an app. Returns null if no progress file exists.
 */
export declare function loadProgress(appId: string, baseDir?: string): Promise<OnboardingProgress | null>;
/**
 * Save onboarding progress. Creates the onboarding directory if needed.
 * File is written with mode 0o600, directory with 0o700.
 */
export declare function saveProgress(appId: string, progress: OnboardingProgress, baseDir?: string): Promise<void>;
/**
 * Delete the progress file for an app (called on successful completion).
 */
export declare function deleteProgress(appId: string, baseDir?: string): Promise<void>;
/**
 * Determine the first incomplete step based on saved progress.
 * Returns the step to resume from.
 */
export declare function getResumeStep(progress: OnboardingProgress | null): OnboardingStep;
