/**
 * Server-side language preference utilities for the Web UI.
 *
 * Reads the language preference from the Settings singleton
 * and determines the text direction (LTR/RTL).
 */
/**
 * Check whether a language code requires right-to-left text direction.
 */
export declare function isRtlLanguage(language: string): boolean;
interface LanguagePreference {
    language: string;
    dir: 'ltr' | 'rtl';
}
/**
 * Get the user's language preference and computed text direction.
 *
 * Reads from the Settings singleton (better-sqlite3, synchronous).
 * Falls back to English if settings are not available (e.g. during build).
 */
export declare function getLanguagePreference(): LanguagePreference;
export {};
//# sourceMappingURL=language.d.ts.map