import type { GlobalConfig, SupportedLocale, ExperienceLevel, TemplateMap, PricingMap, LearnedRegistryEntry, TokenUsage, DeveloperPreference, ImprovementOverride, LessonLearned } from '../types/index.js';
/**
 * Get the global configuration. Returns defaults when no config file exists.
 */
export declare function getGlobalConfig(): Promise<GlobalConfig>;
/**
 * Save the full global configuration.
 */
export declare function saveGlobalConfig(config: GlobalConfig): Promise<void>;
/**
 * Partially update the global configuration.
 */
export declare function updateGlobalConfig(updates: Partial<GlobalConfig>): Promise<GlobalConfig>;
/**
 * Set the default locale globally.
 */
export declare function setDefaultLocale(locale: SupportedLocale): Promise<GlobalConfig>;
/**
 * Set the default experience level globally.
 */
export declare function setDefaultExperienceLevel(level: ExperienceLevel): Promise<GlobalConfig>;
/**
 * Set the hourly rate globally.
 */
export declare function setHourlyRate(rate: number): Promise<GlobalConfig>;
/**
 * Get all stored templates.
 */
export declare function getTemplates(): Promise<TemplateMap>;
/**
 * Get a single template by key. Returns `null` when not found.
 */
export declare function getTemplate(key: string): Promise<Record<string, unknown> | null>;
/**
 * Set or overwrite a template by key.
 */
export declare function setTemplate(key: string, template: Record<string, unknown>): Promise<void>;
/**
 * Delete a template by key. Returns `true` if it existed.
 */
export declare function deleteTemplate(key: string): Promise<boolean>;
/**
 * List all template keys.
 */
export declare function listTemplateKeys(): Promise<string[]>;
/**
 * Get all pricing data.
 */
export declare function getPricing(): Promise<PricingMap>;
/**
 * Get a pricing tier by key.
 */
export declare function getPricingTier(key: string): Promise<Record<string, number> | null>;
/**
 * Set or overwrite a pricing tier.
 */
export declare function setPricingTier(key: string, tier: Record<string, number>): Promise<void>;
/**
 * Delete a pricing tier. Returns `true` if it existed.
 */
export declare function deletePricingTier(key: string): Promise<boolean>;
/**
 * Get all learned registry entries across all registry types.
 */
export declare function getLearnedRegistries(): Promise<LearnedRegistryEntry[]>;
/**
 * Add a new learned entry if it doesn't already exist (deduplication by id).
 * Applies LRU eviction when limit of 500 is exceeded.
 * Returns the updated entries list.
 */
export declare function addLearnedEntry(entry: LearnedRegistryEntry): Promise<LearnedRegistryEntry[]>;
/**
 * Get all learned entries for a specific registry type.
 */
export declare function getLearnedEntriesByRegistry(registry: string): Promise<LearnedRegistryEntry[]>;
/**
 * Mark a learned entry as verified. Returns `true` if the entry was found.
 */
export declare function markLearnedEntryVerified(entryId: string): Promise<boolean>;
export declare function getTokenUsages(): Promise<TokenUsage[]>;
export declare function saveTokenUsage(usage: TokenUsage): Promise<void>;
export declare function getDeveloperPreferences(): Promise<DeveloperPreference[]>;
export declare function recordDeveloperPreference(tool: string, action: DeveloperPreference['action']): Promise<void>;
export declare function getImprovementOverrides(): Promise<ImprovementOverride[]>;
export declare function saveImprovementOverride(override: ImprovementOverride): Promise<void>;
export declare function getLessonsLearned(): Promise<LessonLearned[]>;
export declare function saveLessonLearned(lesson: LessonLearned): Promise<void>;
export declare function findLessons(tags: string[]): Promise<LessonLearned[]>;
//# sourceMappingURL=global-store.d.ts.map