import type { FastifyInstance } from 'fastify'; import type { ViteDevServer } from 'vite'; import type { ModuleRunner } from 'vite/module-runner'; import type { ClientEntries, ClientModule } from '../types/client.ts'; import type { RuntimeConfig } from '../types/options.ts'; import type { RouteDefinition } from '../types/route.ts'; /** Shared setup context interface used by both dev and production setup functions */ export interface FastifyViteDecorationPriorToSetup { scope: FastifyInstance; runtimeConfig: RuntimeConfig; devServer?: ViteDevServer; entries?: ClientEntries; runners?: Record; } /** Check if an object has iterable routes */ export declare function hasIterableRoutes(client: unknown): client is ClientModule & { routes: Iterable; }; //# sourceMappingURL=support.d.ts.map