import { type OpenAIChatMessage } from '../../../models/chat/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {LicenseGptPostResponse} */ export declare function createLicenseGptPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param LicenseGptPostResponse The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoLicenseGptPostResponse(licenseGptPostResponse?: Partial | undefined): Record void>; export interface LicenseGptPostResponse extends AdditionalDataHolder, Parsable { /** * List of message objects in current conversation */ messageList?: OpenAIChatMessage[] | null; /** * Most recent response text */ responseText?: string | null; } /** * Builds and executes requests for operations under /Api/Chat/LicenseGpt */ export interface LicenseGptRequestBuilder extends BaseRequestBuilder { /** * Process OpenAI GPT chat messages with tool calls available. Chats are not stored on data gateway, API client is expected to store chats. Available tools is dynamically determined by assigned API permissions. This endpoint is also only accessible from the `SHI` and `SHI Lab` tenants. End user access is restricted. * @param body Collection of conversation parts provided by user to be ingested by the agent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ post(body: OpenAIChatMessage[], requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Process OpenAI GPT chat messages with tool calls available. Chats are not stored on data gateway, API client is expected to store chats. Available tools is dynamically determined by assigned API permissions. This endpoint is also only accessible from the `SHI` and `SHI Lab` tenants. End user access is restricted. * @param body Collection of conversation parts provided by user to be ingested by the agent * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: OpenAIChatMessage[], requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param LicenseGptPostResponse The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeLicenseGptPostResponse(writer: SerializationWriter, licenseGptPostResponse?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const LicenseGptRequestBuilderUriTemplate = "{+baseurl}/Api/Chat/LicenseGpt"; /** * Metadata for all the requests in the request builder. */ export declare const LicenseGptRequestBuilderRequestsMetadata: RequestsMetadata;