import type { CliId } from '../adapters/cli/types.js'; import type { DaemonSession } from './types.js'; export type AgentSessionRenameRequest = { status: 'requested'; cliId: CliId; } | { status: 'not_running'; cliId?: CliId; } | { status: 'unsupported'; cliId?: CliId; } | { status: 'failed'; cliId?: CliId; error: string; }; /** Resolve the CLI actually owned/observed by this worker. initConfig is the * live source of truth; adopted metadata and the persisted session are only * fallbacks for older or workerless sessions. */ export declare function effectiveSessionCliId(ds: DaemonSession): CliId | undefined; /** Best-effort request to keep the CLI-native resume-picker name aligned with * Botmux's canonical session.title. Local persistence happens before this * call, so a missing/unsupported worker never makes the visible rename fail. */ export declare function requestAgentSessionRename(ds: DaemonSession, title: string): AgentSessionRenameRequest; //# sourceMappingURL=session-rename.d.ts.map