import * as esbuild from "esbuild";
import type { ReadChannel } from "../channel";
import type { RemixConfig } from "../config";
import type { AssetsManifest } from "./assets";
import type { CompileOptions } from "./options";
export type ServerCompiler = {
    compile: (manifestChannel: ReadChannel<AssetsManifest>) => Promise<esbuild.Metafile>;
    dispose: () => void;
};
export declare const createServerCompiler: (remixConfig: RemixConfig, options: CompileOptions) => ServerCompiler;
