//#region src/feature/serve.d.ts type PadroneServePreferences = { /** Port to listen on. Default: 3000 */port?: number; /** Host to bind to. Default: '127.0.0.1' */ host?: string; /** Base path prefix for all routes. Default: '/' */ basePath?: string; /** CORS allowed origin. Default: '*'. Set to `false` to disable CORS headers. */ cors?: string | false; /** Control built-in utility endpoints. All enabled by default. */ builtins?: { /** GET /_health — returns 200 OK. */health?: boolean; /** GET /_help and GET /_help/:command — returns help text. */ help?: boolean; /** GET /_schema and GET /_schema/:command — returns JSON Schema. */ schema?: boolean; /** GET /_docs — Scalar OpenAPI docs viewer. */ docs?: boolean; }; /** Hook to run before each request. Return a Response to short-circuit. */ onRequest?: (req: Request) => Response | void | Promise; /** Transform errors into responses. */ onError?: (error: unknown, req: Request) => Response; }; //#endregion export { PadroneServePreferences }; //# sourceMappingURL=serve.d.mts.map