/** `claude --permission-mode` choices, Claude Code 2.1.281. */ export declare const PERMISSION_MODES: readonly ["acceptEdits", "auto", "bypassPermissions", "manual", "dontAsk", "plan"]; export type PermissionMode = (typeof PERMISSION_MODES)[number]; export interface LaunchProfile { permission_mode?: PermissionMode; dev_channels: string[]; period_gap_hours: number; restore_on_start: boolean; tmux: TmuxProfile; } /** Options for the daemon's owned tmux server (ISS-0205). */ export interface TmuxProfile { mouse: boolean; history_limit: number; } export declare const DEFAULT_PERIOD_GAP_HOURS = 4; /** Scrollback lines per pane. A pane's limit is fixed when it is created. */ export declare const DEFAULT_HISTORY_LIMIT = 50000; export declare function defaultProfile(): LaunchProfile; /** Resolved per call so tests (and a changed $HOME) are honoured. */ export declare function launchProfilePath(): string; /** Validate a parsed launch.json. Throws a message naming the first problem. */ export declare function parseLaunchProfile(raw: unknown): LaunchProfile; /** * The profile, read per call (the file is tiny and spawns are rare, so an edit * takes effect without a restart). Throws LAUNCH_PROFILE_INVALID when the file * exists and is wrong. */ export declare function loadLaunchProfile(): LaunchProfile; /** * claude flags for a profile. Each channel gets its own flag, placed last: the * flag is undocumented, and repeating it is safe whether it takes one value or * many, where a second bare value could otherwise be read as a prompt. */ export declare function profileArgs(p: LaunchProfile): string[]; /** * Lets tmux pass OSC 8 hyperlinks (which Claude Code emits) through to an * xterm-family client, so links are clickable in Ghostty and HQ's pane. Always * on; it costs nothing. A FIXED index, not `set -as`: this runs before every * spawn, and appending would grow the array by one entry each time. */ export declare const HYPERLINKS_FEATURE_INDEX = 20; /** Options for the owned server, as one ';'-separated tmux invocation. */ export declare function tmuxOptionArgs(t: TmuxProfile): string[]; //# sourceMappingURL=launchProfile.d.ts.map