import { Message } from '@theia/core/shared/@lumino/messaging'; import { DisposableCollection } from '@theia/core/lib/common/disposable'; import { BaseWidget, StatefulWidget, Panel, PanelLayout, ApplicationShell, BadgeService } from '@theia/core/lib/browser'; import { ScmCommitWidget } from './scm-commit-widget'; import { ScmActionButtonWidget } from './scm-action-button-widget'; import { ScmAmendWidget } from './scm-amend-widget'; import { ScmService } from './scm-service'; import { ScmTreeWidget } from './scm-tree-widget'; import { ScmPreferences } from '../common/scm-preferences'; export declare class ScmWidget extends BaseWidget implements StatefulWidget { protected panel: Panel; static ID: string; protected readonly shell: ApplicationShell; protected readonly scmService: ScmService; protected readonly commitWidget: ScmCommitWidget; protected readonly actionButtonWidget: ScmActionButtonWidget; readonly resourceWidget: ScmTreeWidget; protected readonly amendWidget: ScmAmendWidget; protected readonly scmPreferences: ScmPreferences; protected readonly badgeService: BadgeService; set viewMode(mode: 'tree' | 'list'); get viewMode(): 'tree' | 'list'; constructor(); protected init(): void; get containerLayout(): PanelLayout; /** * Updates the view mode based on the preference value. * @param preference the view mode preference. */ protected updateViewMode(preference: 'tree' | 'list'): void; protected readonly toDisposeOnRefresh: DisposableCollection; protected refresh(): void; protected updateImmediately(): void; protected onUpdateRequest(msg: Message): void; protected onAfterAttach(msg: Message): void; protected onActivateRequest(msg: Message): void; protected focusInput(): void; storeState(): any; restoreState(oldState: any): void; collapseScmTree(): void; } //# sourceMappingURL=scm-widget.d.ts.map