import * as plugins from './plugins.js'; import { classifyAnthropicLimit } from './smartai.limits.anthropic.js'; import { createAnthropicCachingMiddleware } from './smartai.middleware.anthropic.js'; import { type IAnthropicModelConnection } from './smartai.oauth.anthropic.js'; export { ANTHROPIC_API_BASE_URL, ANTHROPIC_API_VERSION, ANTHROPIC_EFFORTS, ANTHROPIC_OAUTH_BETA, AnthropicOAuthAuthError, AnthropicOAuthModelListError, createAnthropicOAuthHeaders, createAnthropicOAuthResolvingConnection, listAnthropicOAuthModels, mergeAnthropicOAuthBeta, type IAnthropicModelConnection, type IAnthropicOAuthAccessGrant, type IAnthropicOAuthAccessResolveRequest, type IAnthropicOAuthIdentity, type IAnthropicOAuthModel, type IAnthropicOAuthModelListOptions, type IAnthropicOAuthReadAccess, type IAnthropicOAuthResolvingConnectionOptions, type TAnthropicEffort, type TAnthropicOAuthModelListErrorCode, type TAnthropicOAuthRequestOutcome, } from './smartai.oauth.anthropic.js'; export { AnthropicApiKeyAuthError, createAnthropicApiKeyConnection, createAnthropicApiKeyHeaders, listAnthropicApiKeyModels, type IAnthropicApiKeyAccess, type IAnthropicApiKeyConnectionOptions, } from './smartai.apikey.anthropic.js'; export { ANTHROPIC_MODEL_PRICES, ANTHROPIC_SERVER_TOOL_PRICES, getAnthropicModelPrice, getAnthropicRequestPrice, getAnthropicServerToolPrice, readAnthropicMessagesUsage, type IAnthropicServerToolPrice, } from './smartai.pricing.anthropic.js'; export interface IAnthropicModelOptions extends plugins.ISmartAiOptions { provider: 'anthropic'; promptCaching?: boolean | plugins.ISmartAiCacheOptions; /** Authentication supplied by a component such as `createAnthropicOAuthResolvingConnection`; `apiKey` and `baseUrl` are then unused. */ connection?: IAnthropicModelConnection; } export declare const createAnthropicModelProvider: () => plugins.IModelProvider; export { classifyAnthropicLimit, createAnthropicCachingMiddleware };