/** Namespace prefix for decision cache keys. */
export declare const DECISION_CACHE_KEY_PREFIX = "planu.decision.";
/**
 * Returns the cached decision string for the given key, or null on miss /
 * parse error / missing file.  Never throws.
 *
 * Keys are stored in `conventions.json#decisions` as plain strings.
 * The full storage key is `${DECISION_CACHE_KEY_PREFIX}${decisionKey}`.
 */
export declare function getCachedDecision(projectPath: string, decisionKey: string): Promise<string | null>;
/**
 * Best-effort write to `conventions.json#decisions[decisionKey]`.
 * Reads the existing file, patches the `decisions` map, and writes atomically.
 * Logs and swallows all errors — never rejects.
 *
 * When the file is missing or corrupted, a minimal valid structure is created.
 */
export declare function setCachedDecision(projectPath: string, decisionKey: string, value: string): Promise<void>;
//# sourceMappingURL=decision-cache.d.ts.map