/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * GET /api/repo-state — minimal "is this repo configured yet?" probe used
 * by Studio to decide between the create flow and the workspace home.
 *
 * Returns:
 *   - `hasAmodalJson`: file exists on disk
 *   - `setupInProgress`: a `setup_state` row exists with `completedAt === null`
 *
 * IndexPage routes to:
 *   - OverviewPage when `hasAmodalJson && !setupInProgress`
 *   - CreateFlowPage otherwise (including the case where `amodal.json`
 *     was vendored by `install_template` mid-flow but `commit_setup`
 *     hasn't run yet — `setupInProgress` keeps us on the chat).
 *
 * Lives on the Studio server (not the runtime) because the runtime can't
 * even start when `amodal.json` is missing — Studio needs a check that
 * works pre-init.
 */
export declare const repoStateRoutes: import("../policy-router.js").StudioPolicyRoutes;
