import Transaction,{defaultTasks}from"./transaction.js";import{EMPTY,ValidInput,TransactionConfig,Mount}from"./util/types.js";/**
 * @param {Mount} mount
 * @param {ValidInput} input
 * @param {TransactionConfig} config
 *
 * @return {Promise<Transaction> | unknown}
 */export default function outerHTML(mount,input=EMPTY.STR,config={}){config.inner=false;config.executeScripts="executeScripts"in config?config.executeScripts:true;config.tasks=config.tasks||defaultTasks;return Transaction.create(mount,input,config).start()}