import type { KnowledgeEntry, QueryProfile } from './types.js'; export type KnowledgeCatalogAuthority = 'trusted-reference' | 'quality-gate' | 'implementation-reference'; export interface KnowledgeCatalogSource { readonly path: string; readonly sha256: string; readonly origin: 'humbleagents' | 'third-party' | 'mixed'; readonly derivation: 'native' | 'adapted' | 'copied'; readonly provenanceIds: readonly string[]; readonly provenanceVersions: Readonly>; readonly provenanceVerifiedAt: Readonly>; } export interface KnowledgeCatalogEntry { readonly id: string; readonly type: string; readonly tags: readonly string[]; readonly estimatedTokens: number; readonly source: KnowledgeCatalogSource; readonly version: string; readonly authority: KnowledgeCatalogAuthority; readonly recommendedAgents: readonly string[]; readonly discoveryOnly: boolean; } export interface KnowledgeCatalog { readonly schemaVersion: '1.0.0'; readonly entries: readonly KnowledgeCatalogEntry[]; } export interface KnowledgeCatalogValidationOptions { readonly repoRoot: string; readonly queryProfiles: readonly QueryProfile[]; } export declare function catalogProfileConsumers(entry: KnowledgeCatalogEntry, profiles: readonly QueryProfile[], entries: readonly KnowledgeCatalogEntry[]): string[]; export declare function loadKnowledgeCatalog(filePath: string): Promise; export declare function validateKnowledgeCatalog(catalog: KnowledgeCatalog, options: KnowledgeCatalogValidationOptions): Promise; export declare function catalogEntriesToKnowledge(catalog: KnowledgeCatalog, repoRoot: string): Promise;