import type { TitleShape } from '../components/ui/styled-title.js';
import type { TuneConfig } from '../types/config.js';
import type { UserPreferences } from '../types/index.js';
import type { NanocoderShape } from '../types/ui.js';
export declare function resetPreferencesCache(): void;
export declare function loadPreferences(): UserPreferences;
export declare function savePreferences(preferences: UserPreferences): void;
export declare function updateLastUsed(provider: string, model: string): void;
export declare function updateTitleShape(shape: string): void;
export declare function getTitleShape(): TitleShape | undefined;
export declare function updateSelectedTheme(theme: string): void;
export declare function getLastUsedModel(provider: string): string | undefined;
export declare function updateNanocoderShape(shape: NanocoderShape): void;
export declare function getNanocoderShape(): NanocoderShape | undefined;
export declare function saveTune(config: TuneConfig): void;
/**
 * Get the notifications config from the preferences file.
 */
export declare function getNotificationsPreference(): import('../types/config.js').NotificationsConfig | undefined;
/**
 * Save the notifications config to the preferences file.
 */
export declare function updateNotificationsPreference(config: import('../types/config.js').NotificationsConfig): void;
/**
 * Get the paste threshold from the preferences file.
 */
export declare function getPasteThreshold(): number | undefined;
/**
 * Save the paste threshold to the preferences file.
 */
export declare function updatePasteThreshold(threshold: number): void;
/**
 * Get the reasoning expanded preference from preferences or environment
 */
export declare function getReasoningExpanded(): boolean;
/**
 * Save the reasoning expanded preference
 */
export declare function updateReasoningExpanded(value: boolean): void;
/**
 * Get the compact tool display preference from preferences or environment
 */
export declare function getCompactToolDisplay(): boolean;
/**
 * Save the compact tool display preference
 */
export declare function updateCompactToolDisplay(value: boolean): void;
//# sourceMappingURL=preferences.d.ts.map