import type { ViteDevServer } from "vite"; import type { MercuryOptions } from "../typings/mercury-options.js"; import type { MercuryPluginHooksMetadata } from "../typings/plugin.js"; /** * Creates a middleware for Vite dev server to serve static assets like fonts and icons. * This middleware intercepts requests for these assets and serves them directly from the file system, * bypassing the need to copy them to the output directory during development. * @param server - The Vite development server instance. * @param mercuryOptions - Configuration options for Mercury. * @param metadataReusedBetweenHooks - Metadata reused between plugin hooks to optimize performance. * @returns A promise that resolves when the middleware is set up. */ export declare const createViteMiddlewareForDevServer: (server: ViteDevServer, mercuryOptions: MercuryOptions | undefined, metadataReusedBetweenHooks: MercuryPluginHooksMetadata) => Promise;