import { SkillDiscoveryCache } from './cache.js'; import type { DiscoverSkillsInput, SkillDiscoverySummary, SkillRegistryProvider, SkillSourceFetcher } from './types.js'; import type { SqliteDatabase } from '../db/adapter.js'; export interface SkillDiscoveryDependencies { provider?: SkillRegistryProvider; sourceFetcher?: SkillSourceFetcher; cache?: SkillDiscoveryCache; fetchImpl?: typeof fetch; now?: () => string; /** Revalidate caller-owned state inside the import write transaction. */ assertBeforePersist?: () => void; } export declare class SkillDiscoveryService { private readonly cache; private readonly provider; private readonly sourceFetcher; private readonly sourceFlights; private readonly now; private readonly assertBeforePersist; constructor(dependencies?: SkillDiscoveryDependencies); private fetchSnapshot; private searchWithCache; discover(database: SqliteDatabase, input: DiscoverSkillsInput, modeOverride?: DiscoverSkillsInput['mode']): Promise; } export declare function discoverSkills(database: SqliteDatabase, input: DiscoverSkillsInput, dependencies?: SkillDiscoveryDependencies): Promise; //# sourceMappingURL=discovery-service.d.ts.map