import { Event } from "../../../../sessions/sessions.web.main.internal.js"; import { ExtensionGalleryAccountStatus, IExtensionGalleryAccount, IExtensionGalleryAccountProvider } from "./extensionGalleryAccount.js"; export declare const IExtensionGalleryAccountService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; /** Identity, entitlement, and authentication for the Private Marketplace. */ export interface IExtensionGalleryAccountService { readonly _serviceBrand: undefined; readonly accountStatus: ExtensionGalleryAccountStatus; readonly onDidChangeAccountStatus: Event; readonly onDidChangeAccount: Event; /** Never prompts. Check {@link accountStatus} for whether the account may actually be used. */ getAccount(serviceIndexUrl: string): Promise; /** Interactive sign-in for whichever provider the deployment configured. */ signIn(): Promise; setAccountProvider(provider: IExtensionGalleryAccountProvider): void; }