import { RetortConversation } from "./conversation"; export interface Retort { _run: (...values: any[]) => RetortInProgress; retortId: string; retortHash: string; retortType: "retort"; } export interface RetortInProgress { retortId: string; $: RetortConversation; completionPromise: Promise; } export declare function retort(chatFunction: ChatFunction): Retort; type ChatFunction = ($: RetortConversation, ...values: any[]) => T; export {};