import { Tenant as TenantREST } from '../../openapi/types.js'; import { AggregateReply } from '../../proto/v1/aggregate.js'; import { BatchObject as BatchObjectGRPC, BatchObjectsReply } from '../../proto/v1/batch.js'; import { BatchDeleteReply } from '../../proto/v1/batch_delete.js'; import { SearchReply } from '../../proto/v1/search_get.js'; import { TenantsGetReply } from '../../proto/v1/tenants.js'; import { DbVersionSupport } from '../../utils/dbVersion.js'; import { AggregateGroupByResult, AggregateResult, GenerativeConfigRuntime, PropertiesMetrics } from '../index.js'; import { Tenant } from '../tenants/index.js'; import { BatchObject, BatchObjectsReturn, DeleteManyReturn, GenerativeGroupByReturn, GenerativeReturn, GroupByReturn, WeaviateReturn } from '../types/index.js'; export declare class Deserialize { static use(support: DbVersionSupport): Promise; private static aggregateBoolean; private static aggregateDate; private static aggregateInt; private static aggregateNumber; private static aggregateText; private static mapAggregate; private static aggregations; static aggregate>(reply: AggregateReply): AggregateResult; static aggregateGroupBy>(reply: AggregateReply): AggregateGroupByResult[]; query(reply: SearchReply): Promise>; generate(reply: SearchReply): Promise>; queryGroupBy(reply: SearchReply): Promise>; generateGroupBy(reply: SearchReply): Promise>; private properties; private references; private parsePropertyValue; private parseListValue; private objectProperties; private static metadata; private static uuid; /** * Convert an Uint8Array into a 2D vector array. * * Defined as an async method so that control can be relinquished back to the event loop on each outer loop for large vectors. */ private static vectorsFromBytes; private static vectorFromBytes; private static intsFromBytes; private static numbersFromBytes; private static vectors; static batchObjects(reply: BatchObjectsReply, originalObjs: BatchObject[], mappedObjs: BatchObjectGRPC[], elapsed: number): BatchObjectsReturn; static deleteMany(reply: BatchDeleteReply, verbose?: V): DeleteManyReturn; private static activityStatusGRPC; static activityStatusREST(status: TenantREST['activityStatus']): Tenant['activityStatus']; static tenantsGet(reply: TenantsGetReply): Record; }