import type { Plugin } from "vite"; /** * Vite plugin that embeds the native `.node` binary into the build output. * * During production builds, resolves the platform-specific `.node` binary, * copies it into the output directory as `gtkx.node`, and transforms the * `loadNativeBinding` function in `@gtkx/native` to load `./gtkx.node` * directly. This makes the bundle self-contained with no `node_modules` * dependency at runtime. * * @param root - Project root directory used to resolve native packages */ export declare function gtkxNative(root: string): Plugin; //# sourceMappingURL=vite-plugin-gtkx-native.d.ts.map