interface IField { [key: string]: Array<[(val: string) => Promise | boolean, string]>; } interface IErrors { [key: string]: string; } export declare class ValidationService { static run(field: IField, obj: any): Promise; } export {};