export class SyntheticSubmitEvent extends Event {
    #form;
    #submitter;
    constructor(type, form, eventInitDict) {
        super(type, eventInitDict);
        this.#form = form;
        this.#submitter = eventInitDict?.submitter;
    }
    get form() {
        return this.#form;
    }
    get submitter() {
        return this.#submitter;
    }
    get target() {
        return this.#form;
    }
    get currentTarget() {
        return this.#form;
    }
}
//# sourceMappingURL=SyntheticSubmitEvent.js.map