import type { AllServiceKind, GetMethod, ServiceImpl } from './service-base.js'; export type VendorConfig = { id: string; vendorKey: string; name: string; data: unknown; }; type ServiceType = string; export type ServiceConfigMap = Record; export type CopilotConfigDataType = { feature: Record; vendors: VendorConfig[]; }; type VendorPack = { vendor: VendorConfig; impl: ServiceImpl, unknown>; }; export declare class CopilotConfig { _config?: CopilotConfigDataType; loadFromLocalStorage(): any; loadVendorFromUrl(): VendorConfig[]; get config(): CopilotConfigDataType; save(): void; changeService(featureKey: string, serviceType: string, vendorId: string, implName: string): void; addVendor(config: VendorConfig): void; getVendor(featureKey: string, serviceKind: T): VendorPack | undefined; getService(featureKey: string, serviceKind: T): GetMethod; getVendorsByService(serviceKind: T): VendorPack[]; } export declare const copilotConfig: CopilotConfig; export {}; //# sourceMappingURL=copilot-config.d.ts.map