import { ModuleImporter } from "./instrumentation.js";
import { EnvironmentModuleGraph, EnvironmentModuleNode, ViteDevServer } from "vite";
//#region src/server/pages-dev-stylesheets.d.ts
declare function isViteStylesheetGraphTraversalBoundary(moduleNode: Pick<EnvironmentModuleNode, "url">): boolean;
declare function isViteInjectedStylesheetModule(moduleNode: Pick<EnvironmentModuleNode, "type" | "url">): boolean;
/** Resolve the exact id Vite's CSS transform passes to updateStyle(). */
declare function resolvePagesDevStylesheetId(moduleGraph: Pick<EnvironmentModuleGraph, "resolveUrl">, url: string, resolvedId?: string | null): Promise<string | null>;
declare function collectPagesDevInitialStylesheetHeadHTML(server: ViteDevServer, runner: ModuleImporter, moduleIds: (string | null | undefined)[], nonceAttr: string): Promise<string>;
//#endregion
export { collectPagesDevInitialStylesheetHeadHTML, isViteInjectedStylesheetModule, isViteStylesheetGraphTraversalBoundary, resolvePagesDevStylesheetId };