import { HtmlTagDescriptor } from 'vite'; export type DependencyInjectionMode = "cdn" | "lazyNpm"; export type DependencyInjectionResult = HtmlTagDescriptor | { cssHref: string; id?: string; } | { optimizableImports: string[]; javascriptCode: string[]; }; /** * The `baseUrl` should be set to `context.viteConfig.base` * Vite always normalized `base` to end with `/`, and, if in serve mode, to not * include domain name */ export declare const toFsUrl: (baseUrl: string, absolutePath: string) => string;