export { getExpectedGasLimit } from "./utils.js";
import { ExecutionBuilderHttp, defaultExecutionBuilderHttpOpts } from "./http.js";
export { ExecutionBuilderHttp, defaultExecutionBuilderHttpOpts };
export const defaultExecutionBuilderOpts = defaultExecutionBuilderHttpOpts;
export function initializeExecutionBuilder(opts, config, metrics = null, logger) {
    switch (opts.mode) {
        case "http":
            return new ExecutionBuilderHttp(opts, config, metrics, logger);
        default:
            return new ExecutionBuilderHttp(opts, config, metrics, logger);
    }
}
//# sourceMappingURL=index.js.map