import '../../../src/browser/style/debug.css'; import { ConsoleSessionManager } from '@theia/console/lib/browser/console-session-manager'; import { ConsoleOptions, ConsoleWidget } from '@theia/console/lib/browser/console-widget'; import { AbstractViewContribution, HoverService, Widget } from '@theia/core/lib/browser'; import { ContextKey } from '@theia/core/lib/browser/context-key-service'; import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar'; import { Command, CommandRegistry } from '@theia/core/lib/common/command'; import { interfaces } from '@theia/core/shared/inversify'; import * as React from '@theia/core/shared/react'; import { SelectOption } from '@theia/core/lib/browser/widgets/select-component'; import { DebugSessionManager, DidChangeActiveDebugSession } from '../debug-session-manager'; import { DebugConsoleSessionFactory } from './debug-console-session'; import { Disposable, DisposableCollection, Emitter, InMemoryResources } from '@theia/core'; export type InDebugReplContextKey = ContextKey; export declare const InDebugReplContextKey: unique symbol; export declare namespace DebugConsoleCommands { const DEBUG_CATEGORY = "Debug"; const CLEAR: Command; } export declare class DebugConsoleContribution extends AbstractViewContribution implements TabBarToolbarContribution, Disposable { protected consoleSessionManager: ConsoleSessionManager; protected debugConsoleSessionFactory: DebugConsoleSessionFactory; protected debugSessionManager: DebugSessionManager; protected readonly resources: InMemoryResources; protected readonly hoverService: HoverService; protected readonly DEBUG_CONSOLE_SEVERITY_ID = "debugConsoleSeverity"; protected filterInputRef: HTMLInputElement | undefined; protected currentFilterValue: string; protected readonly filterChangedEmitter: Emitter; protected readonly toDispose: DisposableCollection; constructor(); protected init(): void; protected handleActiveDebugSessionChanged(event: DidChangeActiveDebugSession): void; registerCommands(commands: CommandRegistry): void; registerToolbarItems(toolbarRegistry: TabBarToolbarRegistry): Promise; static options: ConsoleOptions; static create(parent: interfaces.Container): Promise; static bindContribution(bind: interfaces.Bind): void; protected renderSeveritySelector(widget: Widget | undefined): React.ReactNode; protected handleSeverityMouseEnter: (e: React.MouseEvent) => void; protected renderDebugConsoleSelector(widget: Widget | undefined): React.ReactNode; protected handleSessionSelectorMouseEnter: (e: React.MouseEvent) => void; protected renderFilterInput(): React.ReactNode; protected handleFilterInputChange: (e: React.ChangeEvent) => void; protected applyFilterDebounced: import("lodash").DebouncedFunc<(value: string) => void>; protected handleFilterClear: () => void; protected handleFilterMouseEnter: (e: React.MouseEvent) => void; protected changeDebugConsole: (option: SelectOption) => void; protected changeSeverity: (option: SelectOption) => void; protected withWidget(widget: Widget | undefined, fn: (widget: ConsoleWidget) => T): T | false; /** * Clear the console widget. */ protected clearConsole(): Promise; dispose(): void; } //# sourceMappingURL=debug-console-contribution.d.ts.map