import type { AgentSessionRuntime } from "../core/agent-session-runtime.js";
import { AttachPairingRegistry } from "./attach-auth.js";
export interface AttachServerOptions {
    host?: string;
    port?: number;
    token?: string;
    maxCommandBodyBytes?: number;
    pairing?: "off" | "strict";
    onListening?: (info: AttachServerInfo) => void;
}
export interface AttachServerInfo {
    host: string;
    port: number;
    token: string;
    url: string;
    pairing: "off" | "strict";
}
export interface AttachServerHandle {
    info: AttachServerInfo;
    pairing: AttachPairingRegistry;
    close: () => Promise<void>;
}
export declare function startAttachServer(runtime: AgentSessionRuntime, options?: AttachServerOptions): Promise<AttachServerHandle>;
//# sourceMappingURL=attach-server.d.ts.map