import { IDisposable } from "../../../../base/common/lifecycle.js"; import { ThemeIcon } from "../../../../base/common/themables.js"; import { ILanguageModelChatMetadataAndIdentifier } from "./languageModels.js"; /** Presentation for a trusted model source owned by one language-model vendor. */ export interface ILanguageModelSourcePresentation { readonly ownerVendor: string; readonly sourceId: string; readonly label: string; readonly icon: ThemeIcon; readonly description: string; } export interface ILanguageModelSourcePresentationRegistry { register(presentation: ILanguageModelSourcePresentation): IDisposable; get(ownerVendor: string, sourceId: string): ILanguageModelSourcePresentation | undefined; } export declare const languageModelSourcePresentationRegistry: ILanguageModelSourcePresentationRegistry; /** * Adds the source label to models provided by a ChatGPT subscription. Other model names remain * unadorned. */ export declare function getLanguageModelDisplayNameWithSubscriptionSource(model: ILanguageModelChatMetadataAndIdentifier, displayName?: string): string;