import Connection from '../../connection/grpc.js'; import { ConsistencyLevel } from '../../data/index.js'; import { DbVersionSupport } from '../../utils/dbVersion.js'; import { GroupByReturn, ReturnVectors, WeaviateObject, WeaviateReturn } from '../types/index.js'; import { IncludeVector } from '../types/internal.js'; import { BaseBm25Options, BaseHybridOptions, BaseNearOptions, BaseNearTextOptions, FetchObjectByIdOptions, FetchObjectsOptions, GroupByBm25Options, GroupByHybridOptions, GroupByNearOptions, GroupByNearTextOptions, NearMediaType, NearVectorInputType, Query } from './types.js'; declare class QueryManager implements Query { private check; private constructor(); static use(connection: Connection, name: string, dbVersionSupport: DbVersionSupport, consistencyLevel?: ConsistencyLevel, tenant?: string): QueryManager; private parseReply; private parseGroupByReply; fetchObjectById, RV extends ReturnVectors>(id: string, opts?: FetchObjectByIdOptions, callOpts?: CallOptions): Promise | null>; fetchObjects, RV extends ReturnVectors>(opts?: FetchObjectsOptions, callOpts?: CallOptions): Promise>; bm25, RV extends ReturnVectors>(query: string, opts?: BaseBm25Options, callOpts?: CallOptions): Promise>; bm25, RV extends ReturnVectors>(query: string, opts: GroupByBm25Options, callOpts?: CallOptions): Promise>; hybrid, RV extends ReturnVectors>(query: string, opts?: BaseHybridOptions, callOpts?: CallOptions): Promise>; hybrid, RV extends ReturnVectors>(query: string, opts: GroupByHybridOptions, callOpts?: CallOptions): Promise>; nearImage, RV extends ReturnVectors>(image: string | Buffer, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearImage, RV extends ReturnVectors>(image: string | Buffer, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearMedia, RV extends ReturnVectors>(media: string | Buffer, type: NearMediaType, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearMedia, RV extends ReturnVectors>(media: string | Buffer, type: NearMediaType, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearObject, RV extends ReturnVectors>(id: string, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearObject, RV extends ReturnVectors>(id: string, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearText, RV extends ReturnVectors>(query: string | string[], opts?: BaseNearTextOptions, callOpts?: CallOptions): Promise>; nearText, RV extends ReturnVectors>(query: string | string[], opts: GroupByNearTextOptions, callOpts?: CallOptions): Promise>; nearVector, RV extends ReturnVectors>(vector: NearVectorInputType, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearVector, RV extends ReturnVectors>(vector: NearVectorInputType, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; } export type CallOptions = { abortSignal?: AbortSignal; }; declare const _default: typeof QueryManager.use; export default _default; export { queryFactory } from './factories.js'; export { BaseBm25Options, BaseHybridOptions, BaseNearOptions, BaseNearTextOptions, Bm25OperatorOptions, Bm25Options, FetchObjectByIdOptions, FetchObjectsOptions, GroupByBm25Options, GroupByHybridOptions, GroupByNearOptions, GroupByNearTextOptions, HybridNearTextSubSearch, HybridNearVectorSubSearch, HybridOptions, HybridSubSearchBase, MoveOptions, MultiVectorType, NearMediaType, NearOptions, NearTextOptions, Query, QueryReturn, SearchOptions, SingleVectorType, } from './types.js'; export { Bm25Operator } from './utils.js';