/**
 * Semantic enrichment sidecar store.
 *
 * Storage:
 *   .aiwg/index/semantic/<sanitized-id>.json
 *
 * Sanitization: replace `/` with `__` and any non-[a-zA-Z0-9._-] with `_`.
 * Preserves `.md`, `.ts`, etc. extensions readably while keeping filesystem-safe.
 *
 * @implements #1204
 */
import type { EnrichmentSummary, SemanticFields } from './types.js';
export declare function resolveSemanticRoot(cwd?: string): string;
export declare function sanitizeId(id: string): string;
export declare function has(root: string, id: string): boolean;
export declare function get(root: string, id: string): SemanticFields;
export declare function put(root: string, id: string, fields: SemanticFields): string;
export declare function remove(root: string, id: string): boolean;
/** Drop ALL enrichment data — implements `aiwg index enrich --reset`. */
export declare function reset(root: string): {
    removed: number;
};
/** Compute the content hash that would be stored as `enrichedHash`. */
export declare function computeContentHash(content: string | Buffer): string;
/** List all enrichment entries with staleness flag (caller supplies current hashes). */
export declare function list(root: string, currentHashes: Record<string, string>, now?: Date): EnrichmentSummary[];
//# sourceMappingURL=store.d.ts.map