import { SDKCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; export declare enum CreateChatAcceptEnum { applicationJson = "application/json", textEventStream = "text/event-stream" } /** * [Deprecated] Chat completions for OpenAI SDK/client usage * * @remarks * **Deprecated: Use the Responses API (`/api/v1/llm/responses`) instead.** OpenAI-compatible chat completion endpoint designed for use with the official OpenAI client libraries (Python, Node.js, etc.). Supports both streaming and non-streaming requests by setting the `stream` parameter. This endpoint handles the request/response directly and returns standard OpenAI-formatted responses. Use this when integrating with existing OpenAI client code. Note: The actual handler is registered at the Bun server level for optimal performance with the OpenAI SDK streaming format. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ export declare function llmChatCreateChat(client: SDKCore, request: operations.CreateChatCompletionRequest, options?: RequestOptions & { acceptHeaderOverride?: CreateChatAcceptEnum; }): APIPromise>; //# sourceMappingURL=llmChatCreateChat.d.ts.map