import type { DevToolsSys } from "@builder.io/dev-tools/core"; export interface LocalHistoryEntry { sessionId?: string; title?: string; createdAt?: number; lastActiveAt?: number; } export declare function saveSession(sys: DevToolsSys, cwd: string, sessionId: string, title: string): Promise; export declare function updateSessionActivity(sys: DevToolsSys, cwd: string, sessionId: string): Promise; export declare function getHistory(sys: DevToolsSys, cwd: string): Promise; export declare function deriveTitle(prompt: string): string;