/**
 * 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<string, string>;
    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<void>;
/**
 * Bundle dependencies separately for better caching
 */
export declare function bundleDependencies(packageJsonPath: string, outDir: string): Promise<void>;
declare const _default: {
    bundleBackend: typeof bundleBackend;
    bundleDependencies: typeof bundleDependencies;
};
export default _default;
//# sourceMappingURL=bundler.d.ts.map