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