import type { SessionInfo, FullMessage } from "./types"; /** * Converts an OpenCode session + its messages (as returned by the SDK) into * a single markdown string suitable for chunking and embedding. * * @param session Session metadata from client.session.get() * @param messages Messages array from client.session.messages() */ export declare function sessionToMarkdown(session: SessionInfo, messages: FullMessage[]): string; /** * Converts a single message to markdown (used for incremental indexing of * individual new messages rather than the full session). */ export declare function messageToMarkdown(msg: FullMessage): string; //# sourceMappingURL=session-to-md.d.ts.map