export type KnowledgeCategory = 'frameworks' | 'security' | 'pricing' | 'tooling' | 'patterns' | 'compliance' | 'platforms';
export interface ProjectContext {
    stack: string[];
    target: string;
    scope: string;
    appType?: string;
    language?: string;
}
export interface KnowledgeItem {
    id: string;
    category: KnowledgeCategory;
    title: string;
    description: string;
    sourceUrl?: string;
    applicableTargets: string[];
    severity: 'required' | 'recommended' | 'optional';
    tags: string[];
    fetchedAt: string;
}
/** Raw search result from a web query (used by web-researcher) */
export interface WebSearchResult {
    title: string;
    snippet: string;
    url: string;
}
export interface KnowledgeResult {
    items: KnowledgeItem[];
    source: 'web' | 'cache' | 'static';
    fetchedAt: string;
    ttl: number;
    category: KnowledgeCategory;
}
export interface KnowledgeCacheEntry {
    category: KnowledgeCategory;
    context: string;
    items: KnowledgeItem[];
    fetchedAt: string;
    expiresAt: string;
    ttl: number;
}
export interface KnowledgeCacheStore {
    version: number;
    entries: KnowledgeCacheEntry[];
    lastPruned: string;
}
export declare const CATEGORY_TTL: Record<KnowledgeCategory, number>;
//# sourceMappingURL=dynamic-knowledge.d.ts.map