UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

14 lines (13 loc) 684 B
import type { ChatMessage } from '../../types/ChatMessage'; import type { ChatParticipant } from '../../types/ChatParticipant'; /** * Builds a polished PDF representation of the provided chat. * * @param title - Title used in the PDF heading and metadata. * @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(title: string, messages: ReadonlyArray<ChatMessage>, participants?: ReadonlyArray<ChatParticipant>): Uint8Array;