import { t as BootContext } from "./types-D0uMBi2M.cjs"; import { BootEventHandler, BootEventName } from "./lifecycle/events.cjs"; import { prepend } from "./prepend.cjs"; import { AstroIntegration } from "astro"; //#region src/integration.d.ts interface BootOptions { /** * Path to the boot file relative to the project root. * @default "src/boot.ts" */ entry?: string | undefined; /** * Restart the dev server when the boot file (or any of its dependencies) changes, * and when Vite issues an SSR full-reload. Dev-only — has no effect in production. * @default true */ watch?: boolean | undefined; /** * Pre-import server modules on startup to eliminate cold-start latency on * the first request. Has no effect in dev mode, production only. * * @default true */ warmup?: boolean | undefined; } /** * Astro integration for application lifecycle hooks. * * Runs `onStartup` and `onShutdown` functions exported from your boot file * during server startup and shutdown. */ declare function boot(options?: BootOptions): AstroIntegration; //#endregion export { type BootContext, type BootEventHandler, type BootEventName, type BootOptions, boot as default, prepend }; //# sourceMappingURL=index.d.cts.map