import type { Session, SessionMessage, SpawnSessionOptions, SessionResponse } from './types.js';
/**
 * Create a new isolated session
 */
export declare function createSession(options: SpawnSessionOptions): Promise<Session>;
/**
 * Get session by ID
 */
export declare function getSession(sessionId: string): Promise<Session | null>;
/**
 * Get all sessions for a tenant
 */
export declare function getTenantSessions(tenantId: string, limit?: number): Promise<Session[]>;
/**
 * Add a message to a session
 */
export declare function addMessage(sessionId: string, message: Omit<SessionMessage, 'id' | 'created_at'>): Promise<SessionMessage>;
/**
 * Get session message history
 */
export declare function getSessionHistory(sessionId: string, limit?: number): Promise<SessionMessage[]>;
/**
 * Process a message in a session (with full context)
 */
export declare function processSessionMessage(sessionId: string, userMessage: string): Promise<SessionResponse>;
/**
 * Close a session
 */
export declare function closeSession(sessionId: string, reason?: string): Promise<void>;
/**
 * Kill a session (force stop)
 */
export declare function killSession(sessionId: string): Promise<void>;
/**
 * Spawn a sub-agent (creates isolated session and processes message)
 */
export declare function spawnSubAgent(options: SpawnSessionOptions & {
    message: string;
}): Promise<SessionResponse>;
/**
 * List active sub-agents for a tenant
 */
export declare function listSubAgents(tenantId: string): Promise<Session[]>;
/**
 * Steer a sub-agent (send message to existing session)
 */
export declare function steerSubAgent(sessionId: string, message: string): Promise<SessionResponse>;
//# sourceMappingURL=manager.d.ts.map