/** * Desktop Bundler Module * Handles bundling Node.js backends for Electron desktop applications */ export interface BundleOptions { entryPoint: string; outDir: string; appName: string; version: string; platform?: "node" | "neutral"; target?: string; format?: "cjs" | "esm"; minify?: boolean; sourcemap?: boolean; external?: string[]; env?: Record; resources?: { config?: string; data?: string[]; }; nativeModules?: { autoDetect?: boolean; modules?: string[]; rebuild?: boolean; }; } /** * Bundle a Node.js backend for desktop deployment */ export declare function bundleBackend(options: BundleOptions): Promise; /** * Bundle dependencies separately for better caching */ export declare function bundleDependencies(packageJsonPath: string, outDir: string): Promise; declare const _default: { bundleBackend: typeof bundleBackend; bundleDependencies: typeof bundleDependencies; }; export default _default; //# sourceMappingURL=bundler.d.ts.map