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<void>;
export declare function updateSessionActivity(sys: DevToolsSys, cwd: string, sessionId: string): Promise<void>;
export declare function getHistory(sys: DevToolsSys, cwd: string): Promise<LocalHistoryEntry[]>;
export declare function deriveTitle(prompt: string): string;
