import { type EmbeddingFunction, type Table, type VectorIndexParams, type Connection, type ConnectionOptions, type CreateTableOptions, type VectorIndex, type WriteOptions, type IndexStats, type UpdateArgs, type UpdateSqlArgs, type MergeInsertArgs, type ColumnAlteration } from '../index'; import { Query } from '../query'; import { Table as ArrowTable } from 'apache-arrow'; import { HttpLancedbClient } from './client'; import { type HttpMiddleware } from '../middleware'; /** * Remote connection. */ export declare class RemoteConnection implements Connection { private _client; private readonly _dbName; private readonly _tableCache; constructor(opts: ConnectionOptions); get uri(): string; tableNames(pageToken?: string, limit?: number): Promise; openTable(name: string): Promise; openTable(name: string, embeddings: EmbeddingFunction): Promise>; createTable(nameOrOpts: string | CreateTableOptions, data?: Array> | ArrowTable, optsOrEmbedding?: WriteOptions | EmbeddingFunction, opt?: WriteOptions): Promise>; dropTable(name: string): Promise; withMiddleware(middleware: HttpMiddleware): Connection; private clone; } export declare class RemoteQuery extends Query { private readonly _client; private readonly _name; constructor(query: T, _client: HttpLancedbClient, _name: string, embeddings?: EmbeddingFunction); execute>(): Promise; } export declare class RemoteTable implements Table { private _client; private readonly _embeddings?; private readonly _name; constructor(client: HttpLancedbClient, name: string); constructor(client: HttpLancedbClient, name: string, embeddings: EmbeddingFunction); get name(): string; get schema(): Promise; search(query: T): Query; filter(where: string): Query; mergeInsert(on: string, data: Array> | ArrowTable, args: MergeInsertArgs): Promise; add(data: Array> | ArrowTable): Promise; overwrite(data: Array> | ArrowTable): Promise; createIndex(indexParams: VectorIndexParams): Promise; createScalarIndex(column: string): Promise; dropIndex(index_name: string): Promise; countRows(filter?: string): Promise; delete(filter: string): Promise; update(args: UpdateArgs | UpdateSqlArgs): Promise; listIndices(): Promise; indexStats(indexName: string): Promise; addColumns(newColumnTransforms: Array<{ name: string; valueSql: string; }>): Promise; alterColumns(columnAlterations: ColumnAlteration[]): Promise; dropColumns(columnNames: string[]): Promise; withMiddleware(middleware: HttpMiddleware): Table; private clone; }