import type { LanguageMetadata } from '../../utils/languageUtils';
import type { OxyServicesBase } from '../OxyServices.base';
export declare function OxyServicesLanguageMixin<T extends typeof OxyServicesBase>(Base: T): {
    new (...args: any[]): {
        /**
         * Get appropriate storage for the platform (similar to DeviceManager)
         */
        getStorage(): Promise<{
            getItem: (key: string) => Promise<string | null>;
            setItem: (key: string, value: string) => Promise<void>;
            removeItem: (key: string) => Promise<void>;
        }>;
        /**
         * Get the current language from storage or user profile
         * @param storageKeyPrefix - Optional prefix for storage key (default: 'oxy_session')
         * @returns The current language code (e.g., 'en-US') or null if not set
         */
        getCurrentLanguage(storageKeyPrefix?: string): Promise<string | null>;
        /**
         * Get the current language with metadata (name, nativeName, etc.)
         * @param storageKeyPrefix - Optional prefix for storage key (default: 'oxy_session')
         * @returns Language metadata object or null if not set
         */
        getCurrentLanguageMetadata(storageKeyPrefix?: string): Promise<LanguageMetadata | null>;
        /**
         * Get the current language name (e.g., 'English')
         * @param storageKeyPrefix - Optional prefix for storage key (default: 'oxy_session')
         * @returns Language name or null if not set
         */
        getCurrentLanguageName(storageKeyPrefix?: string): Promise<string | null>;
        /**
         * Get the current native language name (e.g., 'Español')
         * @param storageKeyPrefix - Optional prefix for storage key (default: 'oxy_session')
         * @returns Native language name or null if not set
         */
        getCurrentNativeLanguageName(storageKeyPrefix?: string): Promise<string | null>;
        httpService: import("../HttpService").HttpService;
        cloudURL: string;
        config: import("../OxyServices.base").OxyConfig;
        makeRequest<T_1>(method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE", url: string, data?: any, options?: import("../HttpService").RequestOptions): Promise<T_1>;
        getBaseURL(): string;
        getClient(): import("../HttpService").HttpService;
        getMetrics(): {
            totalRequests: number;
            successfulRequests: number;
            failedRequests: number;
            cacheHits: number;
            cacheMisses: number;
            averageResponseTime: number;
        };
        clearCache(): void;
        clearCacheEntry(key: string): void;
        getCacheStats(): {
            size: number;
            hits: number;
            misses: number;
            hitRate: number;
        };
        getCloudURL(): string;
        setTokens(accessToken: string, refreshToken?: string): void;
        clearTokens(): void;
        getCurrentUserId(): string | null;
        hasValidToken(): boolean;
        getAccessToken(): string | null;
        waitForAuth(timeoutMs?: number): Promise<boolean>;
        withAuthRetry<T_1>(operation: () => Promise<T_1>, operationName: string, options?: {
            maxRetries?: number;
            retryDelay?: number;
            authTimeoutMs?: number;
        }): Promise<T_1>;
        validate(): Promise<boolean>;
        handleError(error: unknown): Error;
        healthCheck(): Promise<{
            status: string;
            users?: number;
            timestamp?: string;
            [key: string]: any;
        }>;
    };
    __resetTokensForTests(): void;
} & T;
//# sourceMappingURL=OxyServices.language.d.ts.map