import { OnInit } from '@angular/core';
import { EuiLanguage } from '@eui/core';
import * as i0 from "@angular/core";
export interface ModelConfig {
    /**
     * Available languages to select from
     */
    languages: EuiLanguage[];
    /**
     * Currently selected language
     */
    selectedLanguage: EuiLanguage;
    /**
     * Callback when language selection changes
     * @param language
     */
    languageChanged: (language: EuiLanguage) => void;
}
/**
 * Modal component for language selection.
 * Displays EU and non-EU languages in a grid layout with 4 languages per row.
 */
export declare class EuiModalSelectorComponent implements OnInit {
    /**
     * Configuration injected from the dialog service
     */
    config: ModelConfig;
    /** EU languages organized in rows of up to 4 languages */
    languageRows: EuiLanguage[][];
    /**
     * Non-EU languages organized in rows of up to 4 languages
     * @deprecated use {@link additionalLanguageRows}
     */
    additionaLanguageRows: EuiLanguage[][];
    /** Non-EU languages organized in rows of up to 4 languages */
    additionalLanguageRows: EuiLanguage[][];
    /** Currently selected language */
    private selectedLanguage;
    /** Dialog service for handling modal operations */
    private euiDialogService;
    /**
     * Initializes language rows by separating EU and non-EU languages
     */
    ngOnInit(): void;
    /**
     * Handles language selection
     * @param {EuiLanguage} languageCode - The language being selected
     */
    selectLanguage(languageCode: EuiLanguage): void;
    /**
     * Organizes languages into rows of up to 4 languages each
     * @param {EuiLanguage[]} languages - Array of languages to organize
     * @returns {EuiLanguage[][]} 2D array of languages organized in rows
     */
    private prepareLanguageRows;
    static ɵfac: i0.ɵɵFactoryDeclaration<EuiModalSelectorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EuiModalSelectorComponent, "eui-modal-selector", never, {}, {}, never, never, true, never>;
}
//# sourceMappingURL=modal-selector.component.d.ts.map