UNPKG

@dollhousemcp/mcp-server

Version:

DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.

43 lines 1.18 kB
/** * Persona export functionality */ import { Persona } from '../../types/persona.js'; export interface ExportedPersona { metadata: any; content: string; filename: string; exportedAt: string; exportedBy?: string; } export interface ExportBundle { version: string; exportedAt: string; exportedBy?: string; personaCount: number; personas: ExportedPersona[]; } export declare class PersonaExporter { private currentUser; constructor(currentUser: string | null); /** * Export a single persona to JSON format */ exportPersona(persona: Persona): ExportedPersona; /** * Export multiple personas to a bundle */ exportBundle(personas: Persona[], includeDefaults?: boolean): ExportBundle; /** * Convert export to base64 for easy sharing */ toBase64(data: ExportedPersona | ExportBundle): string; /** * Format export result for display */ formatExportResult(persona: Persona, base64: string): string; /** * Format bundle export result */ formatBundleResult(bundle: ExportBundle, base64: string): string; } //# sourceMappingURL=PersonaExporter.d.ts.map