UNPKG

@pinecone-database/pinecone

Version:

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

6 lines (5 loc) 340 B
import { IndexModel, ManageIndexesApi } from '../pinecone-generated-ts-fetch/db_control'; import type { IndexName } from './types'; /** The name of the index to describe */ export type DescribeIndexOptions = IndexName; export declare const describeIndex: (api: ManageIndexesApi) => (indexName: DescribeIndexOptions) => Promise<IndexModel>;