import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { ISCMInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/scm"; import { ISCMViewService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/scm.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IContextViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { Selection } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/selection"; import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.service"; import { IAccessibilityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service"; export declare const SCMInputContextKeys: { SCMInputHasValidationMessage: RawContextKey; }; export declare class SCMInputWidget { private modelService; private keybindingService; private configurationService; private readonly scmViewService; private readonly contextViewService; private readonly openerService; private readonly accessibilityService; private readonly markdownRendererService; private static readonly ValidationTimeouts; private readonly contextKeyService; private element; private editorContainer; private readonly inputEditor; private readonly inputEditorOptions; private toolbarContainer; private toolbar; private readonly disposables; private model; private repositoryIdContextKey; private validationMessageContextKey; private readonly repositoryDisposables; private validation; private validationContextView; private validationHasFocus; private _validationTimer; private lastLayoutWasTrash; private shouldFocusAfterLayout; readonly onDidChangeContentHeight: Event; get input(): ISCMInput | undefined; set input(input: ISCMInput | undefined); get selections(): Selection[] | null; set selections(selections: Selection[] | null); private setValidation; constructor(container: HTMLElement, overflowWidgetsDomNode: HTMLElement, contextKeyService: IContextKeyService, instantiationService: IInstantiationService, modelService: IModelService, keybindingService: IKeybindingService, configurationService: IConfigurationService, scmViewService: ISCMViewService, contextViewService: IContextViewService, openerService: IOpenerService, accessibilityService: IAccessibilityService, markdownRendererService: IMarkdownRendererService); getContentHeight(): number; layout(): void; focus(): void; hasFocus(): boolean; private onDidChangeEditorOptions; private renderValidation; private getToolbarWidth; clearValidation(): void; dispose(): void; }