import type { GatewayProtocol } from './types'; export interface GatewayChatToolDefinition { readonly type: 'function'; readonly function: { readonly name: string; readonly description: string; readonly parameters: Record; }; } export interface GatewayToolCall { readonly id: string; readonly name: string; readonly argumentsText: string; } export interface GatewayChatMessage { readonly role: 'system' | 'user' | 'assistant' | 'tool'; readonly content: string; readonly anthropicContent?: readonly unknown[]; readonly toolCalls?: readonly GatewayToolCall[]; readonly toolCallId?: string; } export interface GatewayChatResponse { readonly text: string; readonly toolCalls: readonly GatewayToolCall[]; readonly anthropicContent?: readonly unknown[]; } interface GatewayChatCompletionInput { readonly protocol: GatewayProtocol; readonly baseUrl: string; readonly apiKey: string; readonly headers: Readonly>; readonly model: string; readonly maxTokens?: number; readonly messages: readonly GatewayChatMessage[]; readonly tools: readonly GatewayChatToolDefinition[]; } export declare function createGatewayChatCompletion(input: GatewayChatCompletionInput): Promise; export {}; //# sourceMappingURL=gateway-client.d.ts.map