import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IConfigurationNode } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry"; export declare enum TestingConfigKeys { AutoOpenPeekView = "testing.automaticallyOpenPeekView", AutoOpenPeekViewDuringContinuousRun = "testing.automaticallyOpenPeekViewDuringAutoRun", OpenResults = "testing.automaticallyOpenTestResults", FollowRunningTest = "testing.followRunningTest", DefaultGutterClickAction = "testing.defaultGutterClickAction", GutterEnabled = "testing.gutterEnabled", SaveBeforeTest = "testing.saveBeforeTest", AlwaysRevealTestOnStateChange = "testing.alwaysRevealTestOnStateChange", CountBadge = "testing.countBadge", ShowAllMessages = "testing.showAllMessages", CoveragePercent = "testing.displayedCoveragePercent", ShowCoverageInExplorer = "testing.showCoverageInExplorer", CoverageBarThresholds = "testing.coverageBarThresholds", CoverageToolbarEnabled = "testing.coverageToolbarEnabled", CoverageMinimapEnabled = "testing.coverageMinimapEnabled", ResultsViewLayout = "testing.resultsView.layout" } export declare enum AutoOpenTesting { NeverOpen = "neverOpen", OpenOnTestStart = "openOnTestStart", OpenOnTestFailure = "openOnTestFailure", OpenExplorerOnTestStart = "openExplorerOnTestStart" } export declare enum AutoOpenPeekViewWhen { FailureVisible = "failureInVisibleDocument", FailureAnywhere = "failureAnywhere", Never = "never" } export declare enum DefaultGutterClickAction { Run = "run", Debug = "debug", Coverage = "runWithCoverage", ContextMenu = "contextMenu" } export declare enum TestingCountBadge { Failed = "failed", Off = "off", Passed = "passed", Skipped = "skipped" } export declare enum TestingDisplayedCoveragePercent { TotalCoverage = "totalCoverage", Statement = "statement", Minimum = "minimum" } export declare enum TestingResultsViewLayout { TreeLeft = "treeLeft", TreeRight = "treeRight" } export declare const testingConfiguration: IConfigurationNode; export interface ITestingCoverageBarThresholds { red: number; green: number; yellow: number; } export interface ITestingConfiguration { [TestingConfigKeys.AutoOpenPeekView]: AutoOpenPeekViewWhen; [TestingConfigKeys.AutoOpenPeekViewDuringContinuousRun]: boolean; [TestingConfigKeys.CountBadge]: TestingCountBadge; [TestingConfigKeys.FollowRunningTest]: boolean; [TestingConfigKeys.DefaultGutterClickAction]: DefaultGutterClickAction; [TestingConfigKeys.GutterEnabled]: boolean; [TestingConfigKeys.SaveBeforeTest]: boolean; [TestingConfigKeys.OpenResults]: AutoOpenTesting; [TestingConfigKeys.AlwaysRevealTestOnStateChange]: boolean; [TestingConfigKeys.ShowAllMessages]: boolean; [TestingConfigKeys.CoveragePercent]: TestingDisplayedCoveragePercent; [TestingConfigKeys.ShowCoverageInExplorer]: boolean; [TestingConfigKeys.CoverageBarThresholds]: ITestingCoverageBarThresholds; [TestingConfigKeys.CoverageToolbarEnabled]: boolean; [TestingConfigKeys.CoverageMinimapEnabled]: boolean; [TestingConfigKeys.ResultsViewLayout]: TestingResultsViewLayout; } export declare const getTestingConfiguration: (config: IConfigurationService, key: K) => ITestingConfiguration[K]; export declare const observeTestingConfiguration: (config: IConfigurationService, key: K) => import("@codingame/monaco-vscode-api/vscode/vs/base/common/observable").IObservable;