import type { Config } from '../config/schema.js';
export type SessionScope = 'per-sender' | 'global';
export declare function resolveTuiSessionKey(params: {
    raw?: string;
    sessionScope: SessionScope;
    currentAgentId: string;
    sessionMainKey: string;
}): string;
export declare function resolveInitialTuiAgentId(params: {
    cfg: Config;
    fallbackAgentId: string;
    initialSessionInput?: string;
    cwd?: string;
}): string;
/** Resolve TUI startup session key from CLI options and config. */
export declare function resolveTuiStartupSessionKey(params: {
    cfg: Config;
    sessionOption?: string;
    cwd?: string;
}): {
    sessionKey: string;
    agentId: string;
    sessionScope: SessionScope;
    sessionMainKey: string;
};
