UNPKG

@pinecone-database/pinecone

Version:

This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.

8 lines (7 loc) 376 B
import { ManageIndexesApi, CollectionModel } from '../pinecone-generated-ts-fetch/db_control'; import type { CollectionName } from './types'; /** * The name of collection to describe. */ export type DescribeCollectionOptions = CollectionName; export declare const describeCollection: (api: ManageIndexesApi) => (name: DescribeCollectionOptions) => Promise<CollectionModel>;