/** Experiment-controlled setting that selects how the new-session composer suggests a worktree. */ export declare const WORKTREE_SUGGESTION_SETTING = "sessions.chat.worktreeSuggestion"; /** * How the new-session composer suggests a new worktree, in which the agent works on a separate copy of * the files, when Branch isolation is selected in a folder with uncommitted changes. */ export declare enum WorktreeSuggestionVariant { Off = "off", /** Spotlights the isolation picker once, as the user sends a request, offering to send it in a new worktree. */ SpotlightOnSend = "spotlightOnSend", /** * Shows a hint below the input once the user starts typing, until they close it. Its action opens the * isolation picker with New Worktree recommended and focused. */ InlineHint = "inlineHint", /** * Shows the number of uncommitted files after Branch in the isolation picker, which lists a few of them * below Branch and New Worktree. */ UncommittedFilesCount = "uncommittedFilesCount" } export declare const WORKTREE_SUGGESTION_VARIANTS: readonly WorktreeSuggestionVariant[]; export declare function isWorktreeSuggestionVariant(value: unknown): value is WorktreeSuggestionVariant; /** Suggestions only target people who already started at least this many sessions in the Agents window. */ export declare const WORKTREE_SUGGESTION_MIN_CREATED_SESSIONS = 3; /** Onboarding scenario that spotlights the isolation picker for {@link WorktreeSuggestionVariant.SpotlightOnSend}. */ export declare const WORKTREE_SUGGESTION_TOUR_ID = "sessions.worktreeSuggestion";