UNPKG

@promptbook/openai

Version:

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

12 lines (11 loc) 604 B
import type { ChatMessage } from '../../types/ChatMessage'; import type { ChatParticipant } from '../../types/ChatParticipant'; /** * Creates a minimal PDF representation of the provided chat. * * @param messages - Messages that should be included in the PDF export. * @param participants - Optional participant metadata to resolve sender names. * @returns Binary data for the generated PDF file. * @private Internal helper used by `pdfSaveFormatDefinition`. */ export declare function buildChatPdf(messages: ReadonlyArray<ChatMessage>, participants?: ReadonlyArray<ChatParticipant>): Uint8Array;