import { ILogService } from "../../../../platform/log/common/log.service.js"; import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; import { ISessionPullRequestAgentMergeOptions, SessionPullRequestMergeMethod } from "./pullRequestCreation.js"; export type CreatePullRequestAction = "create" | "sendToChat"; export type CreatePullRequestMergeMode = "manual" | "agent" | "auto"; export interface ICreatePullRequestPreferences { readonly draft?: boolean; readonly mergeMode?: CreatePullRequestMergeMode; readonly mergeMethod?: SessionPullRequestMergeMethod; readonly agentMergeOptions?: ISessionPullRequestAgentMergeOptions; readonly primaryAction?: CreatePullRequestAction; } /** Stores user choices, independently of a particular session's effective capabilities. */ export declare class CreatePullRequestPreferences { private readonly storageService; private readonly logService; private static readonly storageKey; constructor(storageService: IStorageService, logService: ILogService); read(): ICreatePullRequestPreferences; update(change: ICreatePullRequestPreferences): void; private validate; }