export interface CreateSessionOpts { repoInput: string; goal?: string; /** When true, repoInput is treated as a local path (skip clone). */ local?: boolean; } export declare function createSession(opts: CreateSessionOpts): Promise<{ id: string; repo: string; repoLocalPath: string; workingBranch: string; }>; export declare function getSession(id: string): { id: string; repo: string; repoLocalPath: string | null; goal: string; status: string; planJson: string | null; prUrl: string | null; prNumber: number | null; workingBranch: string | null; createdAt: Date; updatedAt: Date; stoppedAt: Date | null; } | null; export declare function listSessions(): { id: string; repo: string; goal: string; status: string; prUrl: string | null; prNumber: number | null; createdAt: Date; updatedAt: Date; }[]; export interface EnrichedSession { id: string; repo: string; goal: string; status: string; prUrl: string | null; prNumber: number | null; createdAt: Date; updatedAt: Date; planReady: boolean; messageCount: number; tasksDone: number; tasksTotal: number; } export declare function listSessionsEnriched(): EnrichedSession[]; export declare function stopSession(id: string): void; export declare function deleteSession(id: string): Promise; export declare function addMessage(sessionId: string, role: 'user' | 'agent' | 'system', content: string, metadata?: Record): string; export declare function getMessages(sessionId: string, limit?: number): { id: string; sessionId: string; role: string; content: string; metadata: string | null; createdAt: Date; }[]; //# sourceMappingURL=manager.d.ts.map