export type FillOptions = { readonly rejectSelect: boolean; readonly focusFirst: boolean; }; const ENGINE = ` const el = this; if (!el || el.nodeType !== 1) return { ok: false, reason: "ref does not point to an element" }; const tagName = el.tagName || ""; const tag = tagName.toLowerCase(); const type = (el.type || "").toLowerCase(); if (__rejectSelect && tag === "select") { return { ok: false, reason: "element is a