import { type NewSessionOptions, type SessionInfo, type SessionListProgress, SessionManager } from "@caupulican/pi-agent-core/session"; /** * Host-layer defaulting for SessionManager. * * SessionManager itself is config-agnostic: its constructor and statics take the agent/sessions * directories explicitly (the kernel-promotion seam). These thin wrappers are the single visible, * host-owned place that closes over the app's config-resolved `getAgentDir()` / `getSessionsDir()` * and delegates to the explicit kernel API. Call sites that already hold their own agent dir (e.g. * the SDK, the session runtime) should call `SessionManager` directly with that dir instead of these. */ export declare function createSession(cwd: string, sessionDir?: string, options?: NewSessionOptions): SessionManager; export declare function openSession(path: string, sessionDir?: string, cwdOverride?: string): SessionManager; export declare function continueRecentSession(cwd: string, sessionDir?: string): SessionManager; export declare function forkSession(sourcePath: string, targetCwd: string, sessionDir?: string, options?: NewSessionOptions): SessionManager; export declare function listSessions(cwd: string, sessionDir?: string, onProgress?: SessionListProgress): Promise; export declare function listAllSessions(onProgress?: SessionListProgress): Promise; export declare function listAllSessions(customSessionDir?: string, onProgress?: SessionListProgress): Promise; //# sourceMappingURL=session-manager-factory.d.ts.map