/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * Released under MIT see LICENSE.txt in the project root for license information.
 * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
 */
/**
 * @module plugins/font
 */
import type { IJodit, IToolbarButton } from "../../types/index";
import { UIElement } from "../../core/ui/element";
/**
 * The font family dropdown with Google Fonts. Under their own headings it
 * lists the fonts the editor's styles give text and headings, the fonts the
 * content uses, the control's list and the Google Fonts library
 */
export declare class UIFontPicker extends UIElement<IJodit> {
    private readonly __button;
    private readonly __close;
    className(): string;
    private readonly __googleFonts;
    private readonly __fonts;
    private __observer;
    constructor(jodit: IJodit, __button: IToolbarButton, __close: () => void);
    private __render;
    /**
     * The fonts the editor's styles give text and each heading
     */
    private __themeFonts;
    /**
     * The fonts the content sets
     */
    private __usedFonts;
    private __append;
    /**
     * Shows the names of the Google Fonts in view, and those just below it,
     * in their own fonts. Setting every item's font up front would have the
     * browser look for each of the library's families among the installed
     * fonts the first time the list opens
     */
    private __observeGoogleFonts;
    /**
     * Keeps the editor's selection, as the toolbar buttons do
     */
    protected onMouseDown(e: MouseEvent): void;
    protected onClick(e: MouseEvent): void;
    /**
     * The font the selected text has without a font of its own: its block's
     */
    private __blockFont;
    destruct(): void;
}
