import { anthropic } from '@ai-sdk/anthropic'; import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.js'; import { ChatProvider, ExecGenerationOptions, ExecGenerationResult } from './types.js'; import 'ai'; type LooseAnthropicModelId = Parameters[0]; type AnthropicModelId = LooseToStrict; declare const anthropicModels: ModelInfo[]; declare const anthropicProvider: { name: "anthropic"; displayName: string; models: ModelInfo[]; }; declare const streamWithAnthropic: (credentials: RawiCredentials, prompt: string) => Promise; declare const anthropicChatProvider: ChatProvider; declare const generateWithAnthropic: (options: ExecGenerationOptions) => Promise; export { type AnthropicModelId, anthropicChatProvider, anthropicModels, anthropicProvider, generateWithAnthropic, streamWithAnthropic };