export declare const CTX_HISTORY_SCHEMA_VERSION = "ctx-history-jsonl-v2"; export declare const CTX_PROVIDER_KEY = "xopc"; export declare const CTX_SOURCE_ID = "default"; export declare const CTX_SOURCE_FORMAT = "xopc-session-history-v1"; export interface XopcHistorySession { sessionId: string; status: string; createdAt: number; archivedAt: number | null; cwd: string; agentId: string; sessionType: string | null; entries: XopcHistoryEntry[]; } export interface XopcHistoryEntry { entryId: string; seq: number; createdAt: number; payloadJson: string; } export declare function buildCtxHistoryJsonl(sessions: XopcHistorySession[]): { contents: string; eventCount: number; }; export declare function buildCtxPluginManifest(): string;