import type { IEventDetail } from '@breadstone/mosaik-elements';
/**
 * Represents the event detail for form submit events.
 *
 * @public
 */
export interface IFormSubmitEventDetail extends IEventDetail {
    /**
     * The form data.
     */
    readonly formData: FormData;
    /**
     * The form values as a plain object.
     */
    readonly values: Record<string, unknown>;
}
/**
 * Event fired when a form is submitted.
 *
 * @public
 */
export type FormSubmitEvent = CustomEvent<IFormSubmitEventDetail>;
/**
 * Represents the event detail for form reset events.
 *
 * @public
 */
export interface IFormResetEventDetail extends IEventDetail {
}
/**
 * Event fired when a form is reset.
 *
 * @public
 */
export type FormResetEvent = CustomEvent<IFormResetEventDetail>;
declare global {
    interface HTMLElementEventMap {
        formSubmit: FormSubmitEvent;
        formReset: FormResetEvent;
        submitted: FormSubmitEvent;
    }
}
//# sourceMappingURL=FormEvents.d.ts.map