eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
13 lines (12 loc) • 511 B
TypeScript
import type { H3Event } from "nitro";
/**
* Builds the barebones home page response for one request. Exposed
* for tests so callers can supply a real {@link Request}; production
* traffic flows through the Nitro {@link H3Event} default export.
*/
export declare function buildHomePageResponse(request: Request): Response;
/**
* Nitro route handler for `GET /`. Adapts the Nitro event shape into
* {@link buildHomePageResponse}.
*/
export default function handleHomePageRequest(event: H3Event): Response;