import { type ApiKeyAccount } from '@cortexkit/anthropic-auth-core'; import { type Api, type AssistantMessageEventStream, type Context, type Model, type SimpleStreamOptions } from '@earendil-works/pi-ai'; type AnthropicEvent = { type?: string; index?: number; content_block?: Record; delta?: Record; message?: { usage?: Record; }; usage?: Record; }; export declare function buildExplicitBaseMessagesUrl(baseURL: string): URL; export declare function configureApiRouteHeaders(account: ApiKeyAccount, fastMode: boolean): Headers; export declare function parseSse(response: Response): AsyncGenerator; export declare function primaryResponseAllowsApiFallback(preflight: Response | string): boolean; export declare function streamCortexKitAnthropic(model: Model, context: Context, options?: SimpleStreamOptions): AssistantMessageEventStream; export {};