export declare const TUI_PREFS_FILE_ENV = "OPENCODE_TUI_PREFERENCES_FILE"; export declare function getTuiPreferencesFile(): string; export declare function readTuiPreferencesFile(): Promise>; export declare const PLUGIN_KEY = "anthropic-auth"; export declare const DEFAULT_SLOT_ORDER = 160; export interface AnthropicAuthTuiPrefs { forceToTop: boolean; order: number; startCollapsed: boolean; rememberCollapsed: boolean; collapsed: boolean | null; pollMs: number; refreshDebounceMs: number; header: { label: string; showVersion: boolean; }; sections: { quota: boolean; fallbackAccounts: boolean; routing: boolean; cache: boolean; health: boolean; pacing: boolean; }; appearance: { barWidth: number; barFilledChar: string; barEmptyChar: string; warnThreshold: number; errorThreshold: number; }; } export type AppearancePrefs = AnthropicAuthTuiPrefs['appearance']; export declare const DEFAULT_PREFS: AnthropicAuthTuiPrefs; export declare function resolveAnthropicAuthPrefs(root: Record): AnthropicAuthTuiPrefs; export declare function computeEffectiveOrder(root: Record, pluginKey: string, defaultOrder: number): number; type JsonValue = string | number | boolean | null; export declare function queueTuiPreferenceUpdate(pluginKey: string, path: string[], value: JsonValue): Promise; export declare function watchTuiPreferences(onChange: () => void): () => void; export {};