import { BaseDriver, DriverInterface, ExternalCreateTableOptions, ExternalDriverCompatibilities, IndexesSQL, QueryOptions, TableStructure } from '@cubejs-backend/base-driver'; import { ConnectionConfig } from './types'; import { WebSocketConnection } from './WebSocketConnection'; import { QueryResultFormat } from '../codegen'; declare const CubeStoreCapabilityMinVersion: { queueExclusive: string; queueExternalId: string; queueAddAndRetrieve: string; sendableParameters: string; arrowFormat: string; }; type CubeStoreCapability = keyof typeof CubeStoreCapabilityMinVersion; type Column = { type: string; name: string; }; type CreateTableOptions = { streamOffset?: string; inputFormat?: string; buildRangeEnd?: string; uniqueKey?: string; indexes?: string; files?: string[]; aggregations?: string; selectStatement?: string; sourceTable?: any; sealAt?: string; delimiter?: string; disableQuoting?: boolean; }; type CubeStoreQueryOptions = QueryOptions & { sendParameters?: boolean; responseFormat?: QueryResultFormat; }; export declare class CubeStoreDriver extends BaseDriver implements DriverInterface { protected readonly config: any; protected readonly connection: WebSocketConnection; protected readonly baseUrl: string; constructor(config?: Partial); hasCapability(capability: CubeStoreCapability): Promise; testConnection(): Promise; query(query: string, values: any[], options?: CubeStoreQueryOptions): Promise; release(): Promise; informationSchemaQuery(): string; createTableSqlWithOptions(tableName: any, columns: any, options: CreateTableOptions): string; createTableWithOptions(tableName: string, columns: Column[], options: CreateTableOptions, queryTracingObj: any): Promise; getTablesQuery(schemaName: any): Promise; getPrefixTablesQuery(schemaName: any, tablePrefixes: any): Promise; tableColumnTypes(table: string): Promise; quoteIdentifier(identifier: string): string; fromGenericType(columnType: string): string; toColumnValue(value: any, genericType: any): string | boolean; uploadTableWithIndexes(table: string, columns: Column[], tableData: any, indexesSql: IndexesSQL, uniqueKeyColumns: string[] | null, queryTracingObj?: any, externalOptions?: ExternalCreateTableOptions): Promise; private createIndexString; private importRows; private importCsvFile; private importStream; private importStreamingSource; capabilities(): ExternalDriverCompatibilities; } export {}; //# sourceMappingURL=CubeStoreDriver.d.ts.map