import type { AgentModelInput } from '../types.js'; import { type SessionRegistry, type SessionHandle, type SessionSurface } from './session-registry.js'; interface RegisterableSession { readonly sessionId?: string; waitForInitialization?(): Promise; } export interface RegisterSurfaceSessionOptions { surface: SessionSurface; model: AgentModelInput; cwd?: string; name?: string; sdkSessionId?: string; registry?: SessionRegistry; } export interface SurfaceSessionRegistration { handle: SessionHandle | undefined; dispose(): void; } export declare function registerSurfaceSession(session: RegisterableSession, opts: RegisterSurfaceSessionOptions): SurfaceSessionRegistration; export {};