import type { HarnessAdapter } from "../adapters/types.js"; export interface RecentSession { id: string; title: string; lastActivity: number; } interface OpenCodeSessionRow { id: unknown; title: unknown; time_updated: unknown; } export declare function listRecentSessions(adapter: HarnessAdapter): RecentSession[]; export declare function mapOpenCodeSessionRows(rows: OpenCodeSessionRow[]): RecentSession[]; export declare function listPiSessionsFromDir(sessionsDir: string): RecentSession[]; export declare function parsePiSessionJsonl(jsonl: string, fallbackFilename?: string): Pick | null; export declare function truncateTitle(title: string, maxLength?: number): string; export {}; //# sourceMappingURL=sessions.d.ts.map