import type { Plugin } from "vite"; /** * Vite plugin that resolves static asset imports to filesystem paths * and handles CSS imports for GTK applications. * * **Non-CSS assets:** In dev mode, asset imports resolve to the absolute * source file path. In build mode, Vite's built-in asset pipeline handles * emission and hashing; the `renderBuiltUrl` config in the builder * converts the URL to a filesystem path via `import.meta.url`. * * **CSS imports (`import "./style.css"`):** Transformed into a module that * calls `injectGlobal` from `@gtkx/css` with the file's contents, injecting * the styles into the GTK CSS provider at runtime. * * **CSS URL imports (`import path from "./style.css?url"`):** Handled by * Vite's built-in `?url` mechanism, which emits the file as an asset and * resolves it to a filesystem path via `renderBuiltUrl`. */ export declare function gtkxAssets(): Plugin; //# sourceMappingURL=vite-plugin-gtkx-assets.d.ts.map