// storage/onboarding-store.ts — SPEC-360: Persist onboarding config per project.
// Persistence file: data/projects/{hash}/onboarding.json
import { readJson, writeJson, projectDataDir } from './base-store.js';
function onboardingFile(projectId) {
    return `${projectDataDir(projectId)}/onboarding.json`;
}
export async function getOnboardingConfig(projectId) {
    const result = await readJson(onboardingFile(projectId), null);
    return result;
}
export async function saveOnboardingConfig(projectId, config) {
    await writeJson(onboardingFile(projectId), config);
}
//# sourceMappingURL=onboarding-store.js.map