import { ConversationRequestOptionsModel } from "../schemas/conversationRequestOptions.schema.js"; import { ConversationPluginService } from "./ConversationPluginService.js"; /** * Holds the callable functions of a `Conversation`. * * @internal * This class is used internally by the library and is not meant to be **instantiated** by consumers of the library. */ export declare class ConversationRequestOptions { private readonly pluginService; headers: ConversationRequestOptionsModel["headers"]; proxy: ConversationRequestOptionsModel["proxy"]; constructor(pluginService: ConversationPluginService, options?: ConversationRequestOptionsModel); /** * Serializes the `ConversationRequestOptions` to JSON. * * @returns A JSON representation of the `ConversationRequestOptions` instance. */ toJSON(): ConversationRequestOptionsModel; /** * Returns the current request options. */ getRequestOptions(): { headers: Record | undefined; proxy: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; } | undefined; }; /** * Sets new request options to be used as defaults for all HTTP requests made by this conversation. * * @param requestOptions The new request options to use. * @param merge Set to `true` to shallow merge the new request options with the existing request options instead of replacing them. */ setRequestOptions(requestOptions: ConversationRequestOptionsModel, merge?: boolean): void; }