import * as Promise from 'bluebird'; declare type DatabaseType = string | ((necessity: string, index: string) => string); interface Type { types: { odata: { name: string; complexType?: string; }; postgres: DatabaseType; mysql: DatabaseType; websql: DatabaseType; }; fetchProcessing?: (field: any) => Promise; validate: (value: any, required?: boolean) => Promise; } declare const _default: { [fieldType: string]: Type; Hashed: Type & { compare: (str: string, hash: string) => Promise; }; }; export = _default;