/** * Seed a store with synthetic runs so the dashboard can be evaluated without * real data. * * This is product code, not test scaffolding: `flightrec demo` is the first * command a new user runs, so the builders it depends on ship in the package. * The test suite reuses the same builders, which keeps what the demo shows and * what the detectors are pinned against from drifting apart. */ import type { Store } from "../store.js"; export interface DemoResult { /** Number of synthetic runs stored. */ runs: number; /** Directory the synthetic transcripts were written to. */ root: string; } /** * Build synthetic Claude Code and OpenCode trees, ingest them into `store`, and * return what was written. * * The source importers read their roots from the environment, so this has to * point `CLAUDE_CONFIG_DIR` and `OPENCODE_STORAGE_DIR` at the synthetic tree — * and put both back afterwards. Leaving them set would silently redirect every * later ingest in the same process at throwaway fixture data. */ export declare function seedDemo(store: Store, opts?: { root?: string; }): DemoResult;