/** * Require a default export from every `server/plugins/` source file. Nitro * calls each plugin's default export, so a plugin without one passes * typecheck but fails the production build with * `[MISSING_EXPORT] "default" is not exported by "server/plugins/..."`. */ import type { GuardResult, GuardScanOptions } from "./types.js"; /** The module's runtime export names after TypeScript erasure, or `null` when * esbuild cannot parse it (the real build reports that error itself). */ export declare function runtimeExports(source: string, file: string): string[] | null; export declare function scanServerPluginDefaultExport(options: GuardScanOptions): GuardResult;