/**
 * `agents sessions bookmark` — the non-TTY half of the bookmark hotkey.
 *
 * The `*` hotkey in the interactive browser is how a human bookmarks a session;
 * this is how a script, an agent, or a machine without a TTY does the same thing,
 * and it is what makes the feature testable end to end without driving a terminal
 * UI. Both write the one store in `lib/session/bookmarks.ts`.
 */
import type { Command } from 'commander';
/**
 * Resolve one user-typed id (usually the 8-char short id the listing prints) to
 * a full session id. Ambiguity is an ERROR, not a silent first-match: bookmarking
 * the wrong session is invisible until the user wonders where their bookmark went.
 */
export declare function resolveBookmarkTarget(idQuery: string): {
    id: string;
} | {
    error: string;
};
export declare function registerSessionsBookmarkCommand(sessionsCmd: Command): void;
