/**
 * Try to acquire a session
 * Returns true if successful, false if session is already active
 */
export declare function acquire(sessionId: string): Promise<AcquireResult>;
/**
 * Release a session
 */
export declare function release(sessionId: string): Promise<void>;
/**
 * List all active sessions
 */
export declare function listActive(): SessionInfo[];
/**
 * Check if a session is active
 */
export declare function isActive(sessionId: string): boolean;
/**
 * Get session info
 */
export declare function getSession(sessionId: string): SessionInfo | undefined;
/**
 * @deprecated Use the named exports instead
 */
export declare const SessionManager: {
    acquire: typeof acquire;
    release: typeof release;
    listActive: typeof listActive;
    isActive: typeof isActive;
    getSession: typeof getSession;
};
/**
 * Session acquisition result
 */
export interface AcquireResult {
    acquired: boolean;
    reason?: string;
    sessionInfo?: SessionInfo;
    existingSession?: SessionInfo;
}
/**
 * Session information
 */
export interface SessionInfo {
    sessionId: string;
    pid: number;
    ppid: number;
    startTime: number;
    hostname: string;
    username: string;
}
//# sourceMappingURL=session.d.ts.map