export declare class FormError extends Error {
    value: any;
    constructor(message: string, name?: string, value?: any);
}
export declare function wrapFormError<T>(error: T): T;
export declare function wrapFormError(error: Error): FormError;
export declare function wrapFormError(error: Error[]): FormError[];
export declare const promiseAll: (ops: Promise<any>[], isForm?: boolean) => Promise<unknown>;
export declare const isSameError: (a: unknown, b: unknown) => boolean;
