import Connection from '../../connection/grpc.js'; import { ConsistencyLevel } from '../../data/index.js'; import { DbVersionSupport } from '../../utils/dbVersion.js'; import { CallOptions } from '../query/index.js'; import { BaseBm25Options, BaseHybridOptions, BaseNearOptions, BaseNearTextOptions, FetchObjectsOptions, GroupByBm25Options, GroupByHybridOptions, GroupByNearOptions, GroupByNearTextOptions, NearMediaType } from '../query/types.js'; import { GenerateOptions, GenerativeConfigRuntime, GenerativeGroupByReturn, GenerativeReturn, ReturnVectors } from '../types/index.js'; import { IncludeVector } from '../types/internal.js'; import { Generate } from './types.js'; declare class GenerateManager implements Generate { private check; private constructor(); static use(connection: Connection, name: string, dbVersionSupport: DbVersionSupport, consistencyLevel?: ConsistencyLevel, tenant?: string): GenerateManager; private parseReply; private parseGroupByReply; fetchObjects(generate: GenerateOptions, opts?: FetchObjectsOptions, callOpts?: CallOptions): Promise>; bm25, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string, generate: GenerateOptions, opts?: BaseBm25Options, callOpts?: CallOptions): Promise>; bm25, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string, generate: GenerateOptions, opts: GroupByBm25Options, callOpts?: CallOptions): Promise>; hybrid, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string, generate: GenerateOptions, opts?: BaseHybridOptions, callOpts?: CallOptions): Promise>; hybrid, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string, generate: GenerateOptions, opts: GroupByHybridOptions, callOpts?: CallOptions): Promise>; nearImage, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(image: string | Buffer, generate: GenerateOptions, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearImage, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(image: string | Buffer, generate: GenerateOptions, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearObject, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(id: string, generate: GenerateOptions, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearObject, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(id: string, generate: GenerateOptions, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearText, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string | string[], generate: GenerateOptions, opts?: BaseNearTextOptions, callOpts?: CallOptions): Promise>; nearText, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(query: string | string[], generate: GenerateOptions, opts: GroupByNearTextOptions, callOpts?: CallOptions): Promise>; nearVector, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(vector: number[], generate: GenerateOptions, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearVector, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(vector: number[], generate: GenerateOptions, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; nearMedia, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(media: string | Buffer, type: NearMediaType, generate: GenerateOptions, opts?: BaseNearOptions, callOpts?: CallOptions): Promise>; nearMedia, RV extends ReturnVectors, C extends GenerativeConfigRuntime | undefined = undefined>(media: string | Buffer, type: NearMediaType, generate: GenerateOptions, opts: GroupByNearOptions, callOpts?: CallOptions): Promise>; } declare const _default: typeof GenerateManager.use; export default _default; export { generativeParameters } from './config.js'; export { Generate } from './types.js';