/**
 * FormValidation (https://formvalidation.io)
 * The best validation library for JavaScript
 * (c) 2013 - 2023 Nguyen Huu Phuoc <me@phuoc.ng>
 */

import { Plugin } from '@form-validation/core';

export interface SubmitButtonOptions {
    aspNetButton?: boolean;
    // Allow to query the submit button(s)
    // It's useful in case the submit button is outside of form
    buttons?: (form: HTMLFormElement) => Element[];
    liveMode?: boolean;
}

export class SubmitButton extends Plugin<SubmitButtonOptions> {
    constructor(opts?: SubmitButtonOptions);
}
