import type { SqliteDatabase } from '../db/adapter.js'; import type { SkillCandidate, SkillMaterializationAuthorization, SkillRegistryProvider, SkillSnapshot, SkillSourceFetcher, SkillSourceFetchRequest } from './types.js'; export declare const DEFAULT_EXTERNAL_SKILL_FAILURE_TTL_MS: number; export declare const MAX_EXTERNAL_SKILL_RETRY_AFTER_MS: number; export declare function externalSkillFailureTtlMs(retryAfterSeconds: number | null): number; export interface MaterializableSkillSnapshot { snapshot: SkillSnapshot; authorization?: SkillMaterializationAuthorization; } /** * Apply exact provider-audit and GitHub-source backoff before retrieving a * snapshot. Cache rows are operational denial state; they never authorize a * materialization and a stored passed audit label is deliberately ignored. */ export declare function fetchMaterializableSkillSnapshot(database: SqliteDatabase, candidate: SkillCandidate, dependencies: { provider: SkillRegistryProvider; sourceFetcher: SkillSourceFetcher; sourceRequest: SkillSourceFetchRequest; now?: string; cacheWrite?: (operation: () => T) => Promise; }): Promise; //# sourceMappingURL=materialization-service.d.ts.map