import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service"; import { InternalTestItem } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/testing/common/testTypes"; export declare class TestExclusions extends Disposable { private readonly storageService; private readonly excluded; constructor(storageService: IStorageService); /** * Event that fires when the excluded tests change. */ readonly onTestExclusionsChanged: Event; /** * Gets whether there's any excluded tests. */ get hasAny(): boolean; /** * Gets all excluded tests. */ get all(): Iterable; /** * Sets whether a test is excluded. */ toggle(test: InternalTestItem, exclude?: boolean): void; /** * Gets whether a test is excluded. */ contains(test: InternalTestItem): boolean; /** * Removes all test exclusions. */ clear(): void; }