import { BotonicContext } from '@botonic/core';
export declare class FlowLocale {
    private readonly botonicContext;
    private readonly flowLocales;
    private readonly defaultLocaleCode;
    constructor(botonicContext: BotonicContext, flowLocales: string[], defaultLocaleCode: string);
    resolve(): string;
    private isLanguageDetectionEnabled;
    /**
     * Rules:
     * - If user and system languages differ, user locale takes priority.
     * - If both share the same language, the more specific locale wins.
     * - If both have the same specificity, user locale wins.
     */
    private getPriorityLocale;
    private matchExactLocale;
    private matchLanguage;
    private getDefaultLocale;
    private applyLocale;
    private getLanguage;
    private isSpecificLocale;
}
