export declare type Predicate = (p: T) => boolean; export declare type Selector = (p: T) => V; export declare class ParsingOptions { delimiter: string; skipRows: number; keepOriginalHeaders: boolean; textFields: string[]; dateFields: (string | string[])[]; numberFields: string[]; booleanFields: string[]; skipUntil?: (tokens: string[]) => boolean; takeWhile?: (tokens: string[]) => boolean; parseFields?: {}; elementSelector?: (fieldDescriptions: FieldDescription[], tokens: string[]) => any; } export declare type PrimitiveType = string | number | bigint | boolean | null; /** * ScalarType represent a single value types what includes Date and can be null */ export declare type ScalarType = PrimitiveType | Date; /** * Scalar object is a simple object where key is always string and value could be a ScalarType only * Scalar type includes Date object */ export declare type ScalarObject = Record; /** * PrimitivesObject is a simple object where key is a string and value can be Primitive * This object can be transfered with REST call. Doesn'r have a Date */ export declare type PrimitivesObject = Record; /** * Commonly used and recognized types */ export declare enum DataTypeName { String = "String", LargeString = "LargeString", WholeNumber = "WholeNumber", BigIntNumber = "BigIntNumber", FloatNumber = "FloatNumber", DateTime = "DateTime", Date = "Date", Boolean = "Boolean" } export interface Table { fieldDataTypes?: DataTypeName[]; fieldNames: string[]; rows: T[][]; } /** * A simple data table structure what provides a most efficient way * to send data across the wire */ export declare type TableDto = Table; export declare type ScallarTable = Table; export interface StringsDataTable extends Table { fieldDescriptions: FieldDescription[]; } export interface FieldDescription { index: number; fieldName: string; isNullable: boolean; isUnique: boolean; isObject: boolean; maxSize?: number; dataTypeName?: DataTypeName; } //# sourceMappingURL=types.d.ts.map