import { Options } from "@swc/core";
import { Plugin } from "vite";
import { YakConfigOptions } from "../withYak/index.js";

//#region loaders/vite-plugin.d.ts
type ViteYakPluginOptions = YakConfigOptions & {
  /**
   * Base path for resolving CSS virtual module paths.
   * Relative paths are resolved from Vite's project root.
   * In monorepo setups where source files live outside the Vite project root,
   * set this to the monorepo root to avoid broken CSS imports.
   * @defaultValue Vite's resolved `root`
   */
  basePath?: string;
  swcOptions?: Omit<Options, "filename" | "sourceFileName" | "inputSourceMap" | "sourceMaps" | "sourceRoot">;
};
declare function viteYak(userOptions?: ViteYakPluginOptions): Promise<Plugin>;
//#endregion
export { viteYak };
//# sourceMappingURL=vite-plugin.d.ts.map