import { type Config } from '../config/schema.js';
import { type ThinkLevel, type VerboseLevel } from '../agent/transcript/thinking-types.js';
import type { XopcSessionDiskEntry } from './parity/xopc-session-disk-entry.js';
export type SessionResolution = {
    sessionId: string;
    sessionKey?: string;
    sessionEntry?: XopcSessionDiskEntry;
    sessionStore: Record<string, XopcSessionDiskEntry>;
    storePath: string;
    isNewSession: boolean;
    persistedThinking?: ThinkLevel;
    persistedVerbose?: VerboseLevel;
};
export type SessionKeyResolution = {
    sessionKey?: string;
    sessionStore: Record<string, XopcSessionDiskEntry>;
    storePath: string;
};
export declare function resolveSessionKeyForRequest(opts: {
    cfg: Config;
    sessionKey?: string;
    sessionId?: string;
    agentId?: string;
}): Promise<SessionKeyResolution>;
export declare function resolveSession(opts: {
    cfg: Config;
    sessionKey?: string;
    sessionId?: string;
    agentId?: string;
}): Promise<SessionResolution>;
