/** * Chat Completions Resource * Main interface for model orchestration and chat completions */ import type { APIClient } from '../lib/client.js'; import type { ChatCompletionRequest, ChatCompletionResponse, StreamChunk } from '../types.js'; export declare class Chat { readonly completions: Completions; constructor(client: APIClient); } export declare class Completions { private readonly client; constructor(client: APIClient); /** * Create a chat completion */ create(request: ChatCompletionRequest, options?: { policy?: string; timeout?: number; }): Promise; /** * Create a streaming chat completion */ createStream(request: ChatCompletionRequest, options?: { policy?: string; timeout?: number; }): Promise>; private createAsyncIterable; } //# sourceMappingURL=chat.d.ts.map