import { BaseAtlasClass } from './user.js'; import type { AtlasUser } from './user.js'; import { AtlasProjection } from './projection.js'; import { AtlasDataset as AtlasDataset } from './project.js'; import type { Table } from 'apache-arrow'; import { AtlasViewer } from './viewer.js'; import type { components } from './type-gen/openapi.js'; import * as Atlas from './global.js'; type IndexInitializationOptions = { project_id?: Atlas.UUID; project?: AtlasDataset; }; export declare class AtlasIndex extends BaseAtlasClass<{}> { id: Atlas.UUID; _projections?: AtlasProjection[]; project: AtlasDataset; constructor(id: Atlas.UUID, user?: AtlasUser | AtlasViewer, options?: IndexInitializationOptions); protected endpoint(): string; /** * * @param ids a list of ids (atom_ids, which are scoped to the index level) to fetch. If passing * datum_ids, use the project-level fetchIds method. This API is subject to change. * * @returns a list of Records containing metadata for each atom. */ atomInformation(ids: string[] | number[] | bigint[]): Promise; /** * * @returns a list of projections for this index. */ projections(): Promise; /** * * @param datum_ids a list of datum ids to search for * @param atom_ids a list of atom ids to search for * @param k The number of neighbors to return for each one. * @returns A table containing the nearest neighbors for each atom. */ nearest_neighbors(nn_options: Atlas.NNOptions): Promise; /** * * @param param0 A keyed dictionary including `k` (the number of neighbors to return) * and `queries` (a list of vectors to search for). * @returns */ nearest_neighbors_by_vector({ k, queries, }: Omit): Promise; } export {};