import { type MeshTarget } from "@cotal-ai/workspace"; import { NativeChatSession } from "./native-session.js"; /** * User mode: each opening is its own principal `.chat_<…>` at a fresh lifecycle UID, which the * space's auth service draws and admits under the signed-in human's own `cli` grant, confined to the * given read and post lists and to `ttlSec`. No `cli`, managed or other borrowed identity connects. * * The holder secret lives in this process's memory only: admission receives its SHA-256, and each * bearer exchange and the retirement present the secret itself. No bearer, sentinel or holder secret * is returned, printed or written. Mode, server, TLS and space come from the one resolved target, * and the open names that target's IdP and exchange position so the provider cannot follow a * re-registered entry; the session's later requests reuse the route its open resolved. */ export declare function openUserChatSession(target: MeshTarget, options: { readonly label: string; readonly channels: readonly string[]; readonly read: readonly string[]; readonly post: readonly string[]; readonly ttlSec: number; }): Promise; //# sourceMappingURL=user-session.d.ts.map