import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { IMainThreadTestCollection } from "./testService.js"; import { AbstractIncrementalTestCollection, ITestUriCanonicalizer, IncrementalChangeCollector, IncrementalTestCollectionItem, InternalTestItem, TestsDiff } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/testing/common/testTypes"; export declare class MainThreadTestCollection extends AbstractIncrementalTestCollection implements IMainThreadTestCollection { private readonly expandActual; private testsByUrl; private busyProvidersChangeEmitter; private expandPromises; /** * @inheritdoc */ get busyProviders(): number; /** * @inheritdoc */ get rootItems(): Set; /** * @inheritdoc */ get all(): Generator; get rootIds(): Iterable; readonly onBusyProvidersChange: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event; constructor(uriIdentityService: ITestUriCanonicalizer, expandActual: (id: string, levels: number) => Promise); /** * @inheritdoc */ expand(testId: string, levels: number): Promise; /** * @inheritdoc */ getNodeById(id: string): IncrementalTestCollectionItem | undefined; /** * @inheritdoc */ getNodeByUrl(uri: URI): Iterable; /** * @inheritdoc */ getReviverDiff(): TestsDiff; /** * Applies the diff to the collection. */ apply(diff: TestsDiff): void; /** * Clears everything from the collection, and returns a diff that applies * that action. */ clear(): TestsDiff; /** * @override */ protected createItem(internal: InternalTestItem): IncrementalTestCollectionItem; private readonly changeCollector; protected createChangeCollector(): IncrementalChangeCollector; private getIterator; }