import type { Plugin } from "esbuild";
import type { RemixConfig } from "../../config";
/**
 * A plugin responsible for resolving bare module ids based on server target.
 * This includes externalizing for node based platforms, and bundling for single file
 * environments such as cloudflare.
 */
export declare function serverBareModulesPlugin(remixConfig: RemixConfig, onWarning?: (warning: string, key: string) => void): Plugin;
