import { CancellationToken } from "../../../base/common/cancellation.js"; import { Event } from "../../../sessions/sessions.web.main.internal.js"; import { ICustomizationMarketplaceSourceInfo, ICustomizationMarketplaceSourcesChangeEvent, ICustomizationMarketplaceQuery, CustomizationMarketplaceQueryProgressCallback, ICustomizationMarketplacePage, ICustomizationMarketplaceBrowseSectionsProgress, ICustomizationMarketplaceBrowseSections, ICustomizationMarketplaceSourceRecoveryAction } from "./customizationMarketplaceService.js"; export declare const ICustomizationMarketplaceService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; export interface ICustomizationMarketplaceService { readonly _serviceBrand: undefined; readonly sources: readonly ICustomizationMarketplaceSourceInfo[]; /** Complete source metadata, including sources that are not currently available. */ readonly allSources?: readonly ICustomizationMarketplaceSourceInfo[]; /** Fires when non-configuration inputs change source availability, contents, or query identity. */ readonly onDidChangeSources?: Event; query(options: ICustomizationMarketplaceQuery, token: CancellationToken, onProgress?: CustomizationMarketplaceQueryProgressCallback): Promise; /** Optional ordered editorial sections for queryless Browse. */ getBrowseSections?(options: Pick, token: CancellationToken, onProgress?: (progress: ICustomizationMarketplaceBrowseSectionsProgress) => void): Promise; /** Optional renderer-owned recovery; not part of the catalog transport. */ getSourceRecoveryAction?(sourceId: string): ICustomizationMarketplaceSourceRecoveryAction | undefined; }