/** * Core Component Routes * DO NOT MODIFY THIS FILE - You may break the project functionality * * This module provides: * 1. Component manifest API at /api/components/manifest.json * 2. Auto-mounting of backend Hono handlers from worker/components/ * * Frontend component pages live in src/pages/components/ and are served * by the SPA via React Router (no Worker routing needed). */ import type { Hono } from 'hono'; import type { Env } from './core-utils'; /** * Mount component routes on the Hono app. * - Serves manifest at /api/components/manifest.json * - Auto-mounts backend handlers at /api/components/{path}/* */ export declare function componentRoutes(app: Hono<{ Bindings: Env; }>): void;