import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js"; import { ExtHostAiRelatedInformationShape, IMainContext } from "./extHost.protocol.js"; import type { CancellationToken, RelatedInformationProvider, RelatedInformationType, RelatedInformationResult } from "vscode"; import { Disposable } from "./extHostTypes.js"; export declare class ExtHostRelatedInformation implements ExtHostAiRelatedInformationShape { private _relatedInformationProviders; private _nextHandle; private readonly _proxy; constructor(mainContext: IMainContext); $provideAiRelatedInformation(handle: number, query: string, token: CancellationToken): Promise; getRelatedInformation(extension: IExtensionDescription, query: string, types: RelatedInformationType[]): Promise; registerRelatedInformationProvider(extension: IExtensionDescription, type: RelatedInformationType, provider: RelatedInformationProvider): Disposable; }