import ky from 'ky'; import type { Options } from 'ky'; type KyInstance = ReturnType; export interface FetchOptions extends Options { credentials?: 'include' | 'omit' | 'same-origin'; } /** * Create an instance of Ky with options shared by all requests. */ export declare function createApiInstance(opts: { apiKey: string; baseUrl: string; fetchOptions?: FetchOptions; }): KyInstance; type PineconeErrorDetail = { typeUrl: string; value: string; }; export declare class PineconeError extends Error { code: number; details?: PineconeErrorDetail[]; status: number; constructor(message: string, opts: { cause?: Error; code: number; details?: PineconeErrorDetail[]; status: number; }); } export {};