UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

13 lines (12 loc) 519 B
import type { ChatMessage } from '../types/ChatMessage'; import type { ChatParticipant } from '../types/ChatParticipant'; import type { ExportFormat } from './ExportFormat'; /** * Exports chat messages in the specified format * * @private utility of `<Chat/>` component */ export declare function exportChatHistory(messages: ChatMessage[], format: ExportFormat, headerMarkdown?: string, participants?: ReadonlyArray<ChatParticipant>): Promise<void>; /** * TODO: [😬] Delete this parallel chat history export */