import { type Config } from '../config/schema.js'; import { type ThinkLevel, type VerboseLevel } from '../agent/transcript/thinking-types.js'; import type { SessionMetadata } from './types.js'; export type SessionResolution = { sessionId: string; sessionKey?: string; sessionMetadata?: SessionMetadata | null; isNewSession: boolean; persistedThinking?: ThinkLevel; persistedVerbose?: VerboseLevel; }; export type SessionKeyResolution = { sessionKey?: string; sessionMetadata?: SessionMetadata | null; }; export declare function resolveSessionKeyForRequest(opts: { cfg: Config; sessionKey?: string; sessionId?: string; agentId?: string; }): Promise; export declare function resolveSession(opts: { cfg: Config; sessionKey?: string; sessionId?: string; agentId?: string; }): Promise;