/**
 * Socket Session Discovery
 *
 * Scans the sockets directory to find all running attachable sessions.
 */
import type { SocketSessionInfo } from "./types.js";
/**
 * Discover all running socket-based sessions.
 *
 * Scans the socket directory for .sock files and reads their corresponding
 * .lock files to extract metadata (PID, cwd, createdAt).
 *
 * Filters out stale sessions (PID no longer running).
 *
 * @param socketDir - Directory containing socket files
 * @returns Array of discovered session info
 */
export declare function discoverSocketSessions(socketDir: string): Promise<SocketSessionInfo[]>;
//# sourceMappingURL=discovery.d.ts.map