import { type ReactiveElement } from "lit"; import { type WithElementInternals } from "../mixins/with-element-internals.ts"; /** * A string indicating the form submission behavior of the element. * * - submit: The element submits the form. This is the default value if the * attribute is not specified, or if it is dynamically changed to an empty or * invalid value. * - reset: The element resets the form. * - button: The element does nothing. */ export type FormSubmitterType = "button" | "submit" | "reset"; /** * An element that can submit or reset a `