import type { LanguageModelChat, NotebookDocument, Uri } from 'vscode'; import { Range } from '../../../util/common/test/shims/vscodeTypesShim'; import { IConfigurationService } from '../../configuration/common/configurationService'; import { IChatEndpoint } from '../../networking/common/networking'; import { IExperimentationService } from '../../telemetry/common/nullExperimentationService'; import { BaseAlternativeNotebookContentProvider } from './alternativeContentProvider'; export type AlternativeContentFormat = 'xml' | 'text' | 'json'; export declare function getAlternativeNotebookDocumentProvider(kind: 'xml' | 'text' | 'json'): BaseAlternativeNotebookContentProvider; /** * Given the content, determine the format of the content. */ export declare function inferAlternativeNotebookContentFormat(content: string): AlternativeContentFormat; export declare const IAlternativeNotebookContentService: import("../../../util/common/services").ServiceIdentifier; export interface IAlternativeNotebookContentService { readonly _serviceBrand: undefined; getFormat(options: LanguageModelChat | IChatEndpoint | undefined): AlternativeContentFormat; create(format: AlternativeContentFormat): BaseAlternativeNotebookContentProvider; } export declare class AlternativeNotebookContentService implements IAlternativeNotebookContentService { private readonly configurationService; private readonly experimentationService; readonly _serviceBrand: undefined; constructor(configurationService: IConfigurationService, experimentationService: IExperimentationService); getFormat(options: LanguageModelChat | IChatEndpoint | undefined): AlternativeContentFormat; create(format: AlternativeContentFormat): BaseAlternativeNotebookContentProvider; } export declare function getAltNotebookRange(range: Range, cellUri: Uri, notebook: NotebookDocument, format: AlternativeContentFormat): Range | undefined; //# sourceMappingURL=alternativeContent.d.ts.map