import * as arrow from 'apache-arrow'; import { Column } from '../column'; import { Table } from '../table'; import { TypeMap } from './mappings'; export declare type FloatingPoint = Float32 | Float64; export declare type IndexType = Int8 | Int16 | Int32 | Uint8 | Uint16 | Uint32; export declare type Integral = IndexType | Int64 | Uint64; export declare type Numeric = Integral | FloatingPoint | Bool8; export declare type Timestamp = TimestampDay | TimestampSecond | TimestampMillisecond | TimestampMicrosecond | TimestampNanosecond; export declare type DataType = Numeric | Utf8String | List | Struct | Timestamp | Categorical; export interface Int8 extends arrow.Int8 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Int8 extends arrow.Int8 { } export interface Int16 extends arrow.Int16 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Int16 extends arrow.Int16 { } export interface Int32 extends arrow.Int32 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Int32 extends arrow.Int32 { } export interface Int64 extends arrow.Int64 { TValue: bigint; scalarType: bigint; readonly BYTES_PER_ELEMENT: number; } export declare class Int64 extends arrow.Int64 { } export interface Uint8 extends arrow.Uint8 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Uint8 extends arrow.Uint8 { } export interface Uint16 extends arrow.Uint16 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Uint16 extends arrow.Uint16 { } export interface Uint32 extends arrow.Uint32 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Uint32 extends arrow.Uint32 { } export interface Uint64 extends arrow.Uint64 { TValue: bigint; scalarType: bigint; readonly BYTES_PER_ELEMENT: number; } export declare class Uint64 extends arrow.Uint64 { } export interface Float32 extends arrow.Float32 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Float32 extends arrow.Float32 { } export interface Float64 extends arrow.Float64 { scalarType: number; readonly BYTES_PER_ELEMENT: number; } export declare class Float64 extends arrow.Float64 { } export interface Bool8 extends arrow.Bool { scalarType: boolean; readonly BYTES_PER_ELEMENT: number; } export declare class Bool8 extends arrow.Bool { } export interface Utf8String extends arrow.Utf8 { scalarType: string; } export declare class Utf8String extends arrow.Utf8 { } export interface List extends arrow.List { scalarType: Column; } export declare class List extends arrow.List { } export interface Struct extends arrow.Struct { scalarType: Table; } export declare class Struct extends arrow.Struct { } export interface TimestampDay extends arrow.DateDay { scalarType: Date; } export declare class TimestampDay extends arrow.DateDay { } export interface TimestampSecond extends arrow.TimestampSecond { scalarType: Date; } export declare class TimestampSecond extends arrow.TimestampSecond { } export interface TimestampMillisecond extends arrow.TimestampMillisecond { scalarType: Date; } export declare class TimestampMillisecond extends arrow.TimestampMillisecond { } export interface TimestampMicrosecond extends arrow.TimestampMicrosecond { scalarType: Date; } export declare class TimestampMicrosecond extends arrow.TimestampMicrosecond { } export interface TimestampNanosecond extends arrow.TimestampNanosecond { scalarType: Date; } export declare class TimestampNanosecond extends arrow.TimestampNanosecond { } export interface Categorical extends arrow.Dictionary { scalarType: T['scalarType']; } export declare class Categorical extends arrow.Dictionary { constructor(dictionary: T, _id?: number | null, isOrdered?: boolean | null); } export declare const FloatTypes: (Float32 | Float64)[]; export declare const IntegralTypes: (Int8 | Int16 | Int32 | Uint8 | Uint16 | Uint32 | Int64 | Uint64)[]; export declare const NumericTypes: (Int8 | Int16 | Int32 | Uint8 | Uint16 | Uint32 | Int64 | Uint64 | Float32 | Float64 | Bool8)[]; //# sourceMappingURL=dtypes.d.ts.map