import { D as DurableBackend, E as EdgeObserver } from './types-BR3Gkbpu.cjs'; import { S as SessionEventsFactory, W as WebhookProvider, a as StreamingProvider } from './types-DgkJVTsH.cjs'; type AnthropicDirectConfig = { apiKey: string; awsRegion?: never; awsWorkspaceId?: never; }; type AnthropicAwsApiKeyConfig = { awsRegion: string; awsWorkspaceId?: string; apiKey: string; }; type AnthropicBaseConfig = { agentId: string; environmentId: string; onSessionEvents?: SessionEventsFactory; durable?: DurableBackend; }; type AnthropicProviderConfig = AnthropicBaseConfig & (AnthropicDirectConfig | AnthropicAwsApiKeyConfig); declare function createAnthropicProvider(config: AnthropicProviderConfig & { durable: EdgeObserver; }): WebhookProvider; declare function createAnthropicProvider(config: AnthropicProviderConfig): StreamingProvider; export { type AnthropicProviderConfig as A, createAnthropicProvider as c };