import type Anthropic from '@anthropic-ai/sdk'; import type { AgentConfig } from '../../../types/config-types.js'; import type { ContentBlockParam } from '@anthropic-ai/sdk/resources'; import { buildClientOptions } from '../auth.js'; import type { AuthMode } from '../types.js'; import { ThrottleQueue } from '../throttle-queue.js'; import type { AnthropicClientFactory } from '../provider-options.js'; export interface ClientSetupArgs { config: AgentConfig; token: string; authMode: AuthMode; localMode: boolean; factory: AnthropicClientFactory | null | undefined; createClient: (opts: ReturnType) => Anthropic; } export interface ClientSetup { client: Anthropic; throttleQueue: ThrottleQueue | undefined; systemPrefix: ContentBlockParam[] | null; tokenRefresher?: (() => Promise) | undefined; } export declare function setUpQueryClient(args: ClientSetupArgs): ClientSetup;