import { Emitter, Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service"; import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service"; import { IAITextQuery, IFileMatch } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search"; import { NotebookEditorWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget"; import { FileMatchImpl } from "../searchTreeModel/fileMatch.js"; import { ISearchResult, ISearchTreeFolderMatchWorkspaceRoot, ISearchTreeFolderMatch, ISearchTreeFolderMatchWithResource, ITextSearchHeading, IChangeEvent, ISearchModel, ISearchTreeFileMatch } from "@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common/vscode/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon"; import { TextSearchHeadingImpl } from "../searchTreeModel/textSearchHeading.js"; export declare class AITextSearchHeadingImpl extends TextSearchHeadingImpl { hidden: boolean; constructor(parent: ISearchResult, instantiationService: IInstantiationService, uriIdentityService: IUriIdentityService); name(): string; id(): string; get isAIContributed(): boolean; get query(): IAITextQuery | null; set query(query: IAITextQuery | null); fileCount(): number; private _createBaseFolderMatch; private createWorkspaceRootWithResourceImpl; } export declare class AIFolderMatchWorkspaceRootImpl extends Disposable implements ISearchTreeFolderMatchWorkspaceRoot { private _resource; private _index; private _query; private _parent; private instantiationService; protected _onChange: Emitter; readonly onChange: Event; private _onDispose; readonly onDispose: Event; private readonly _id; private _name; protected _unDisposedFileMatches: Map; protected _fileMatches: Map; constructor(_resource: URI, _id: string, _index: number, _query: IAITextQuery, _parent: ITextSearchHeading, instantiationService: IInstantiationService, labelService: ILabelService); get resource(): URI; id(): string; index(): number; name(): string; count(): number; doAddFile(fileMatch: ISearchTreeFileMatch): void; private latestRank; createAndConfigureFileMatch(rawFileMatch: IFileMatch, searchInstanceID: string): FileMatchImpl; isAIContributed(): boolean; private onFileChange; get hasChildren(): boolean; parent(): ISearchTreeFolderMatch | ITextSearchHeading; matches(): (ISearchTreeFileMatch | ISearchTreeFolderMatchWithResource)[]; allDownstreamFileMatches(): ISearchTreeFileMatch[]; remove(matches: ISearchTreeFileMatch | ISearchTreeFolderMatchWithResource | (ISearchTreeFileMatch | ISearchTreeFolderMatchWithResource)[]): void; addFileMatch(raw: IFileMatch[], silent: boolean, searchInstanceID: string): void; isEmpty(): boolean; clear(clearingAll?: boolean): void; get showHighlights(): boolean; get searchModel(): ISearchModel; get _searchResult(): ISearchResult; get query(): IAITextQuery | null; getDownstreamFileMatch(uri: URI): ISearchTreeFileMatch | null; replaceAll(): Promise; recursiveFileCount(): number; doRemoveFile(fileMatches: ISearchTreeFileMatch[], dispose?: boolean, trigger?: boolean, keepReadonly?: boolean): void; replace(match: ISearchTreeFileMatch): Promise; replacingAll: boolean; bindModel(model: ITextModel): void; unbindNotebookEditorWidget(editor: NotebookEditorWidget, resource: URI): void; bindNotebookEditorWidget(editor: NotebookEditorWidget, resource: URI): Promise; hasOnlyReadOnlyMatches(): boolean; fileMatchesIterator(): IterableIterator; folderMatchesIterator(): IterableIterator; recursiveMatchCount(): number; private disposeMatches; dispose(): void; }