/** * Plain-text / markdown session formatting (same shape as /dump clipboard export). */ import type { AgentMessage, ThinkingLevel } from "@oh-my-pi/pi-agent-core"; import type { Model } from "@oh-my-pi/pi-ai"; /** Minimal tool shape for dump output (matches AgentTool fields used by formatSessionDumpText). */ export interface SessionDumpToolInfo { name: string; description: string; parameters: unknown; } export interface FormatSessionDumpTextOptions { messages: readonly AgentMessage[]; systemPrompt?: readonly string[] | null; model?: Model | null; thinkingLevel?: ThinkingLevel | string | null; tools?: readonly SessionDumpToolInfo[]; } /** * Format messages and session metadata as markdown/plain text (same as AgentSession.formatSessionAsText / /dump). */ export declare function formatSessionDumpText(options: FormatSessionDumpTextOptions): string;