eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
25 lines (24 loc) • 1.1 kB
TypeScript
import type { Nitro } from "nitro/types";
import type { NitroBuildSurface, PreparedApplicationHost } from "#internal/nitro/host/types.js";
/**
* Hosted Vercel builds can prune local sandbox backends only when the
* app did not explicitly configure one. Omitted backends resolve through
* `defaultSandbox()`, which selects Vercel on hosted Vercel and never
* needs local runtime code there.
*/
export declare function shouldPruneLocalSandboxBackends(input: {
readonly configuredBackendNames: ReadonlySet<string>;
readonly preset: "vercel" | undefined;
}): boolean;
/**
* Creates one configured Nitro instance for either production build or dev
* hosting of an eve application.
*
* `surface` narrows the mounted routes for isolated production builds.
* `outputDir` lets callers stage those isolated builds into separate Nitro
* output roots before assembling the final hosted deployment.
*/
export declare function createApplicationNitro(preparedHost: PreparedApplicationHost, dev: boolean, options?: {
outputDir?: string;
surface?: NitroBuildSurface;
}): Promise<Nitro>;