import type { Companion, PartnerState } from '../domain.js'; import type { PartnerStore } from '../store.js'; import type { LoadedSkill, MarketSkillEntry, PartnerSkill, SkillMarketSource } from './domain.js'; import { SkillRepository } from './repository.js'; import { type SkillPackageFile } from './package.js'; export declare class SkillService { private readonly store; readonly repository: SkillRepository; private readonly cache; private readonly mutations; constructor(store: PartnerStore, repository: SkillRepository); initialize(): Promise; bindings(companionId: string, state?: Pick): PartnerSkill[]; load(skillId: string): Promise; installLocal(document: string, id?: string): Promise; importPackage(input: Uint8Array | SkillPackageFile[]): Promise; private installLocalLocked; uninstall(skillId: string): Promise; private uninstallLocked; setBinding(companionId: string, skillId: string, enabled: boolean): Promise; addMarketSource(input: unknown): Promise; removeMarketSource(sourceId: string): Promise; networkSettings(): { proxyUrl?: string; }; setNetworkSettings(input: unknown): Promise<{ proxyUrl?: string; }>; testNetwork(input: unknown): Promise<{ ok: true; latencyMs: number; sourceCount: number; entryCount: number; }>; market(force?: boolean): Promise<{ sources: SkillMarketSource[]; entries: MarketSkillEntry[]; errors: Array<{ sourceId: string; error: string; }>; }>; installMarket(sourceId: string, entryId: string): Promise; private installMarketLocked; private loadMarket; private fetchMarket; private assertInstallCapacity; } export declare function renderEnabledSkills(companion: Companion, skills: PartnerSkill[], injectedIds?: ReadonlySet): string; //# sourceMappingURL=service.d.ts.map