import { CancellationToken } from "../../../../../base/common/cancellation.js"; import { URI } from "../../../../../base/common/uri.js"; import { IAgentConnection } from "../../../../../platform/agentHost/common/agentService.js"; import { InvokeChangesetOperationResult } from "../../../../../platform/agentHost/common/state/protocol/channels-changeset/commands.js"; import { ISessionChangesetOperation } from "../../../../services/sessions/common/session.js"; import { ISendRequestOptions } from "../../../../services/sessions/common/sessionsProvider.js"; import { ISessionPullRequestChatOptions, ISessionPullRequestCreation, ISessionPullRequestDetails, ISessionPullRequestOptions } from "../../../changes/common/pullRequestCreation.js"; export declare class AgentHostPullRequestCreation implements ISessionPullRequestCreation { private readonly _getConnection; private readonly _getChannel; private readonly _invokeOperation; private readonly _getBackendChatResource; readonly operationId = "create-pr"; constructor(_getConnection: () => IAgentConnection | undefined, _getChannel: () => URI | undefined, _invokeOperation: (operationId: string, metadata: Record) => Promise, _getBackendChatResource?: (chat: URI) => URI | undefined); mapOperations(operations: readonly ISessionChangesetOperation[]): readonly ISessionChangesetOperation[]; prepare(token: CancellationToken, chat?: URI): Promise; prepareChatRequest(query: string, options: ISessionPullRequestChatOptions): Promise; private _invokePreparation; create(options: ISessionPullRequestOptions, chat?: URI): Promise; /** Names the host chat whose conversation the details describe; omitted when the chat has no host counterpart. */ private _conversationMeta; }