/**
 * @fileoverview Session port — capabilities for session lifecycle management.
 * Route modules that manage sessions depend on this port.
 */
import type { Session } from '../../session.js';
export interface SessionPort {
    readonly sessions: ReadonlyMap<string, Session>;
    addSession(session: Session): void;
    cleanupSession(sessionId: string, killMux?: boolean, reason?: string): Promise<void>;
    setupSessionListeners(session: Session): Promise<void>;
    persistSessionState(session: Session): void;
    persistSessionStateNow(session: Session): void;
    getSessionStateWithRespawn(session: Session): unknown;
}
//# sourceMappingURL=session-port.d.ts.map