/**
 * 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 FieldStatusOptions {
    onStatusChanged?: (areFieldsValid: boolean) => void;
}

export class FieldStatus extends Plugin<FieldStatusOptions> {
    constructor(opts?: FieldStatusOptions);
    areFieldsValid(): boolean;
    getStatuses(): Map<string, string>;
}
