import type { CommunityRegistryMatchResult } from "./community-consent-client.js";
export interface CommunityDiscoveryCacheEntry {
    intentKey: string;
    resourceId: string;
    type: string;
    title: string;
    summary: string;
    sourceTier: string;
    trustStage: string;
    effectiveRiskTier: string;
    latestVersion: string | null;
    cachedAt: string;
}
export interface CommunityDiscoveryCacheOptions {
    ownerUserId?: string;
    filePath?: string;
}
export declare class CommunityDiscoveryCache {
    private readonly filePath;
    constructor(options?: CommunityDiscoveryCacheOptions);
    readAll(): CommunityDiscoveryCacheEntry[];
    find(intentKey: string): CommunityDiscoveryCacheEntry | undefined;
    writeMatch(intentKey: string, match: CommunityRegistryMatchResult, now?: Date): CommunityDiscoveryCacheEntry;
}
