import type esbuild from "esbuild";
import type { RemixConfig } from "../../config";
import type { CompileOptions } from "../options";
/**
 * This plugin loads route modules for the browser build, using module shims
 * that re-export only the route module exports that are safe for the browser.
 */
export declare function browserRouteModulesPlugin(config: RemixConfig, suffixMatcher: RegExp, onLoader: (filename: string, code: string) => void, mode: CompileOptions["mode"]): esbuild.Plugin;
