import { FindMatch } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model"; import { IFileMatch, ITextSearchMatch } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search"; import { INotebookCellMatchNoModel, INotebookFileMatchNoModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/searchNotebookHelpers"; import { CellWebviewFindMatch, ICellViewModel } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; export type INotebookCellMatch = INotebookCellMatchWithModel | INotebookCellMatchNoModel; export type INotebookFileMatch = INotebookFileMatchWithModel | INotebookFileMatchNoModel; export declare function getIDFromINotebookCellMatch(match: INotebookCellMatch): string; export interface INotebookFileMatchWithModel extends IFileMatch { cellResults: INotebookCellMatchWithModel[]; } export interface INotebookCellMatchWithModel extends INotebookCellMatchNoModel { cell: ICellViewModel; } export declare function isINotebookFileMatchWithModel(object: any): object is INotebookFileMatchWithModel; export declare function isINotebookCellMatchWithModel(object: any): object is INotebookCellMatchWithModel; export declare function contentMatchesToTextSearchMatches(contentMatches: FindMatch[], cell: ICellViewModel): ITextSearchMatch[]; export declare function webviewMatchesToTextSearchMatches(webviewMatches: CellWebviewFindMatch[]): ITextSearchMatch[];