import type { Context } from '@deepseek-ai/cordis'; import type { ISessions, SessionListState } from '@deepseek-ai/dsh-api-session-controller/client'; import type { SessionId } from '@deepseek-ai/dsh-session/types'; /** Main-view ownership is public; the Controller catalog no longer owns selection. */ export declare function currentHarnessSession(state: SessionListState): SessionId | undefined; export type HarnessSessionList = SessionListState & { current?: SessionId | undefined; currentAddress?: ReturnType; }; export type HarnessSessions = Omit & { list: { getSnapshot(): HarnessSessionList; subscribe(listener: () => void): () => void; }; open(target: Parameters[0]): void; }; /** Adapt old Arkme readers through public Controller ownership and UI navigation. */ export declare function harnessSessions(ctx: Context): HarnessSessions; //# sourceMappingURL=harness-session-state.d.ts.map