import { IDisposable } from "../../../../../base/common/lifecycle.js"; import { Event, URI } from "../../../../../sessions/sessions.web.main.internal.js"; import { IChatPlanApprovalAction } from "../../common/chatService/chatService.js"; import { IPlanReviewFeedbackRegistration, IPlanReviewFeedbackItem } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService"; export declare const IPlanReviewFeedbackService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IPlanReviewFeedbackService { readonly _serviceBrand: undefined; readonly onDidChangeFeedback: Event; readonly onDidChangeNavigation: Event; readonly onDidChangeRegistrations: Event; readonly onDidChangePlanReviewScope: Event<{ readonly planUri: URI; readonly sessionResource: URI; readonly active: boolean; }>; registerPlanReview(planUri: URI, registration: IPlanReviewFeedbackRegistration): IDisposable; isActivePlanReview(uri: URI): boolean; getPlanReview(uri: URI): IPlanReviewFeedbackRegistration | undefined; notifyFeedbackChanged(planUri: URI): void; addFeedback(planUri: URI, line: number, column: number, text: string): string; removeFeedback(planUri: URI, feedbackId: string): void; updateFeedback(planUri: URI, feedbackId: string, newText: string): void; getFeedback(planUri: URI): readonly IPlanReviewFeedbackItem[]; clearFeedback(planUri: URI): void; getNextFeedback(planUri: URI, next: boolean): IPlanReviewFeedbackItem | undefined; getNavigationBearing(planUri: URI): { activeIdx: number; totalCount: number; }; setNavigationAnchor(planUri: URI, itemId: string | undefined): void; submitAllFeedback(planUri: URI): Promise; submitPlanAction(planUri: URI, action: IChatPlanApprovalAction): Promise; rejectPlan(planUri: URI): Promise; }