import { DiscoveryService, AuthService } from '@backstage/backend-plugin-api'; import { Config } from '@backstage/config'; import { JsonValue } from '@backstage/types'; /** * @public */ type SkillExchangeClientOptions = { config: Config; discovery: DiscoveryService; auth: AuthService; }; /** @public */ declare class SkillExchangeClient { #private; constructor(options: SkillExchangeClientOptions); doPost(path: string, body?: any): Promise; } /** @public */ type DefaultListsType = { /** * @deprecated Use `files` instead. */ sources: string[]; files?: JsonValue[]; remoteUrls?: string[]; systemUser?: string; } | { /** * @deprecated Use `files` instead. */ sources?: string[]; files: JsonValue[]; remoteUrls?: string[]; systemUser?: string; }; /** @public */ type SkillExchangeApiConfiguration = { /** * Configuration for default lists to ingest. */ defaultLists?: DefaultListsType; /** * Cron expression used to schedule when to send notifications about hack updates. */ hackUpdateNotificationsCron?: string; /** * Paths for embeds, mentors and hacks features. */ featurePaths: { embeds: string; mentors: string; hacks: string; }; }; /** @public */ declare function readSkillExchangeApiConfiguration(config: Config): SkillExchangeApiConfiguration; export { type DefaultListsType, type SkillExchangeApiConfiguration, SkillExchangeClient, type SkillExchangeClientOptions, readSkillExchangeApiConfiguration };