export type DiagramEntry = { id: string; block: { code: string; blockIndex: number; startLine: number; endLine: number; }; context: { beforeLines: string[]; afterLines: string[]; }; source: "assistant" | "user" | "command"; }; type SessionMessageLike = { role?: unknown; content?: unknown; customType?: unknown; details?: unknown; }; type SessionEntryLike = { id?: unknown; type?: unknown; customType?: unknown; data?: unknown; message?: SessionMessageLike; }; export declare function indexSessionDiagrams(entries: SessionEntryLike[], options?: { maxCodeLength?: number; }): DiagramEntry[]; export {}; //# sourceMappingURL=session-index.d.ts.map