import { FileAttachment, ContextItem } from './types.js'; /** * Generates a unique ID using UUID v4 */ export declare function generateId(): string; /** * Renders markdown content to sanitized HTML */ export declare function renderMarkdown(content: string): string; /** * Downloads content as a file with specified MIME type */ export declare function downloadFile(content: string, filename: string, mimeType?: string): void; /** * Converts file attachments to context items */ export declare function fileAttachmentsToContextItems(completedAttachments: FileAttachment[], pendingAttachments: FileAttachment[]): ContextItem[];