eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
31 lines (30 loc) • 1.45 kB
TypeScript
import type { Nitro } from "nitro/types";
import type { NitroBuildSurface, PreparedApplicationHost, PreparedDevelopmentApplicationHost } 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 isolated Nitro host candidate for `eve dev`.
*/
export declare function createDevelopmentApplicationNitro(preparedHost: PreparedDevelopmentApplicationHost): Promise<Nitro>;
interface ProductionApplicationNitroOptions {
readonly buildDir: string;
readonly outputDir: string;
readonly surface: NitroBuildSurface;
}
/**
* Creates a build-mode Nitro host for one production surface. `surface`
* narrows which route groups are registered ("all" for self-hosted output;
* "app"/"flow" for the separately bundled Vercel functions), and `buildDir`/
* `outputDir` place all bundler state inside the invocation-owned build
* workspace.
*/
export declare function createProductionApplicationNitro(preparedHost: PreparedApplicationHost, options: ProductionApplicationNitroOptions): Promise<Nitro>;
export {};