/** * Agent Blame Configuration * * Manages user preferences stored in git config. * Settings are stored per-repo in .git/config under [agentblame] section. */ /** * Configuration keys and their defaults */ export interface AgentBlameConfig { /** Whether to store actual prompt content (default: true). Set to false for privacy. */ storePromptContent: boolean; } /** * Get a configuration value */ export declare function getConfig(repoRoot: string, key: K): Promise; /** * Set a configuration value */ export declare function setConfig(repoRoot: string, key: K, value: AgentBlameConfig[K]): Promise; /** * Unset a configuration value (revert to default) */ export declare function unsetConfig(repoRoot: string, key: K): Promise; /** * Get all configuration values */ export declare function getAllConfig(repoRoot: string): Promise; /** * List all configuration with their current values and defaults */ export declare function listConfig(repoRoot: string): Promise>; /** * Valid config keys for user input validation */ export declare const VALID_CONFIG_KEYS: (keyof AgentBlameConfig)[]; /** * Parse a string value to the appropriate type for a config key */ export declare function parseConfigValue(key: K, value: string): AgentBlameConfig[K] | null;