import { IDisposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { IWorkspaceSelectionSnapshot } from "../../../common/workspaceSelection.js"; import { ISendRequestOptions } from "../../../services/sessions/common/sessionsManagement.js"; import { URI, Event } from "../../../sessions.web.main.internal.js"; import { INewSessionComposer } from "./newSessionComposerService.js"; export declare const INewSessionComposerService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface INewSessionComposerService { readonly _serviceBrand: undefined; readonly activeComposer: IObservable; readonly workspaceSelection: IObservable; readonly userWorkspaceSelectionVersion: IObservable; notifyUserWorkspaceSelection(): void; readonly userNavigationVersion: IObservable; readonly inputVersion: IObservable; readonly draftInputVersion: IObservable; readonly hasDraftInput: boolean | undefined; getDraftInputStateForSession(sessionResource: URI | undefined): boolean | undefined; hasDraftInputForSession(sessionResource: URI): boolean; notifyUserNavigation(): void; readonly onWillSendRequest: Event<{ readonly options: ISendRequestOptions; readonly selection: IWorkspaceSelectionSnapshot | undefined; }>; notifyWillSendRequest(options: ISendRequestOptions, selection: IWorkspaceSelectionSnapshot | undefined): void; /** Hidden composers retain draft tracking but cannot receive global composer actions. */ registerComposer(composer: INewSessionComposer, visible?: IObservable): IDisposable; }