import type { Message } from 'ollama';
import { SessionStorage } from './sessionStorage';
import type { SessionMeta } from '../types';
export interface ResumeResult {
    messages: Message[];
    meta: SessionMeta;
    eventCount: number;
}
export declare function resumeSession(projectDir: string, sessionId: string, model: string): Promise<ResumeResult>;
export declare function forkSession(projectDir: string, sourceSessionId: string, model: string): Promise<{
    newStorage: SessionStorage;
    messages: Message[];
}>;
export declare function getLatestSession(projectDir: string): Promise<SessionMeta | null>;
//# sourceMappingURL=resume.d.ts.map