import { RetortSettings } from "./agent"; import { RetortMessage, RetortValueArray } from "./message"; import { RetortExtendableFunction } from "./extendable-function"; import { Retort } from "./retort"; import { run } from "./run"; export interface RetortScriptImport { default: Retort; } export declare class RetortConversation extends RetortExtendableFunction { readonly id: string; readonly chat: this; readonly messagePromises: (RetortMessage | Promise)[]; protected get __wrappedFunction(): (value0: string | TemplateStringsArray, ...values: RetortValueArray) => RetortMessage; settings: RetortSettings; run: typeof run; get model(): string; set model(value: string); get temperature(): number; set temperature(value: number); get topP(): number; set topP(value: number); get messages(): RetortMessage[]; user: import("./agent").RetortAgent; assistant: import("./agent").RetortAgent; system: import("./agent").RetortAgent; get input(): (inputSettings?: Partial | undefined) => import("./define-input").RetortInputPromise; get generation(): (generationSettings?: Partial | undefined) => import("./define-generation").RetortMessagePromise; get prompt(): (value0: string | TemplateStringsArray, ...values: RetortValueArray) => RetortMessage; toObject(messages?: RetortMessage[]): SerializableRetortConversation; static fromObject(obj: SerializableRetortConversation): RetortConversation; } export interface RetortConversation { (input: string): RetortMessage; (templateStrings: TemplateStringsArray, ...values: RetortValueArray): RetortMessage; } export interface SerializableRetortConversation { id: string; settings: RetortSettings; messages: RetortMessage[]; }