import z from "zod"; declare const ChatCompletionRequestMessageRoleEnum: z.ZodEnum<{ function: "function"; system: "system"; user: "user"; assistant: "assistant"; }>; type ConversationMessageRole = z.infer; declare const isConversationMessageRole: (input: unknown) => input is ConversationMessageRole; declare const ChatCompletionRequestMessageName: z.ZodString; type ConversationMessageName = z.infer; declare const isConversationMessageName: (input: unknown) => input is ConversationMessageName; declare const ChatCompletionRequestUserMessageSchema: z.ZodObject<{ role: z.ZodEnum<{ user: "user"; }>; content: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>; type ConversationUserMessage = z.infer; declare const isConversationUserMessage: (input: unknown) => input is ConversationUserMessage; declare const ChatCompletionRequestMessageFunctionCall: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; type ConversationMessageFunctionCall = z.infer; declare const isConversationMessageFunctionCall: (input: unknown) => input is ConversationMessageFunctionCall; declare const ChatCompletionRequestAssistantMessageWithFunctionCall: z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodUnion<[z.ZodNull, z.ZodString]>; function_call: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>; type ConversationAssistantMessageWithFunctionCall = z.infer; declare const isConversationAssistantMessageWithFunctionCall: (input: unknown) => input is ConversationAssistantMessageWithFunctionCall; declare const ChatCompletionRequestAssistantMessageWihtoutFunctionCall: z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>; type ConversationAssistantMessageWithoutFunctionCall = z.infer; declare const isConversationAssistantMessageWithoutFunctionCall: (input: unknown) => input is ConversationAssistantMessageWithoutFunctionCall; declare const ChatCompletionAssistantMessage: z.ZodUnion<[z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodUnion<[z.ZodNull, z.ZodString]>; function_call: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>]>; type ConversationAssistantMessage = z.infer; declare const isConversationAssistantMessage: (input: unknown) => input is ConversationAssistantMessage; declare const ChatCompletionSystemMessageSchema: z.ZodObject<{ role: z.ZodEnum<{ system: "system"; }>; content: z.ZodString; }, z.core.$strip>; type ConversationSystemMessage = z.infer; declare const isConversationSystemMessage: (input: unknown) => input is ConversationSystemMessage; declare const ChatCompletionFunctionMessageSchema: z.ZodObject<{ role: z.ZodEnum<{ function: "function"; }>; content: z.ZodString; name: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>; type ConversationFunctionMessage = z.infer; declare const isConversationFunctionMessage: (input: unknown) => input is ConversationFunctionMessage; declare const ChatCompletionRequestMessageSchema: z.ZodUnion; content: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodUnion<[z.ZodNull, z.ZodString]>; function_call: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>]>, z.ZodObject<{ role: z.ZodEnum<{ system: "system"; }>; content: z.ZodString; }, z.core.$strip>, z.ZodObject<{ role: z.ZodEnum<{ function: "function"; }>; content: z.ZodString; name: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>]>; type ConversationMessage = z.infer; declare const isConversationMessage: (input: unknown) => input is ConversationMessage; declare const ChatCompletionRequestMessagesSchema: z.ZodArray; content: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodUnion<[z.ZodNull, z.ZodString]>; function_call: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>]>, z.ZodObject<{ role: z.ZodEnum<{ system: "system"; }>; content: z.ZodString; }, z.core.$strip>, z.ZodObject<{ role: z.ZodEnum<{ function: "function"; }>; content: z.ZodString; name: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>]>>; type ConversationMessages = z.infer; declare const isConversationMessages: (input: unknown) => input is ConversationMessages; declare const ChatCompletionRequestInputMessageSchema: z.ZodUnion; content: z.ZodString; name: z.ZodOptional; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>, z.ZodUnion<[z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ role: z.ZodEnum<{ assistant: "assistant"; }>; content: z.ZodUnion<[z.ZodNull, z.ZodString]>; function_call: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strict>]>, z.ZodObject<{ role: z.ZodEnum<{ function: "function"; }>; content: z.ZodString; name: z.ZodString; timestamp: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>]>; type ConversationIOMessage = z.infer; declare const isConversationInputMessage: (input: unknown) => input is ConversationIOMessage; declare const RosettaRequestMessageSchema: z.ZodUnion; data: z.ZodObject<{ input: z.ZodString; apiKey: z.ZodNullable>; assistantId: z.ZodNullable>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ping">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clearHistory">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"history">; }, z.core.$strip>]>; type RosettaRequestMessage = z.infer; declare const isRosettaRequestMessage: (input: unknown) => input is RosettaRequestMessage; type InfoMessageType = "info"; interface InfoMessageData { message: string; code?: string; } interface ConverationHistoryObj { type: "human" | "ai"; text: string; timestamp: number; reference?: string; reference_type?: string; } type ConversationHistoryType = "history"; interface ConversationHistoryData { history: ConverationHistoryObj[]; } type ConversationUpdatedType = "conversationUpdated"; type ConversationDeletedType = "conversationDeleted"; interface ConversationUpdatedData { change: ConversationDeletedType; message?: string; conversationId: string; } interface InfoMessage { type: InfoMessageType; data: InfoMessageData; } interface HistoryMessage { type: ConversationHistoryType; data: ConversationHistoryData; } interface ConversationUpdatedMessage { type: ConversationUpdatedType; data: ConversationUpdatedData; } interface ConversationSummary { id: string; description?: string; timestamp?: string; } type ConversationsType = "userConversations"; interface ConversationsData { userConversations: ConversationSummary[]; } interface ConversationListMessage { type: ConversationsType; data: ConversationsData; } type PongType = "pong"; interface PongMessage { type: PongType; } type ErrorType = "error"; interface ErrorData { message: string; code?: string; } interface ErrorMessage { type: ErrorType; data: ErrorData; } type ThoughtType = "thought-start"; interface ThoughtData { text: string; timestamp?: string; } interface ThoughtMessage { type: ThoughtType; data: ThoughtData; } type ResponseType = "response"; interface ResponseData { response: string; reference_type?: string; reference?: string; timestamp?: string; } interface RespomseMessage { type: ResponseType; data: ResponseData; } type RosettaResponseMessage = InfoMessage | HistoryMessage | ConversationUpdatedMessage | PongMessage | ErrorMessage | ThoughtMessage | RespomseMessage | ConversationListMessage; declare function isType(input: unknown, schema: z.ZodType): input is T; export { type ConversationAssistantMessage, type ConversationAssistantMessageWithFunctionCall, type ConversationAssistantMessageWithoutFunctionCall, type ConversationFunctionMessage, type ConversationIOMessage, type ConversationMessage, type ConversationMessageFunctionCall, type ConversationMessageName, type ConversationMessageRole, type ConversationMessages, type ConversationSystemMessage, type ConversationUserMessage, isConversationAssistantMessage, isConversationAssistantMessageWithFunctionCall, isConversationAssistantMessageWithoutFunctionCall, isConversationFunctionMessage, isConversationInputMessage, isConversationMessage, isConversationMessageFunctionCall, isConversationMessageName, isConversationMessageRole, isConversationMessages, isConversationSystemMessage, isConversationUserMessage, isRosettaRequestMessage, isType, type RosettaRequestMessage, type RosettaResponseMessage, };