/**
 * @fileoverview
 * 'settings-search-engine-icon' is the icon for a search engine in the settings
 * page. It prioritizes showing an existing favicon, then tries downloading an
 * image, and uses a generic favicon as final fallback.
 */
import 'chrome://resources/cr_elements/cr_auto_img/cr_auto_img.js';
import '../site_favicon.js';
import { PolymerElement } from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import type { SearchEngine } from './search_engines_browser_proxy.js';
export interface SettingsSearchEngineIconElement {
    $: {
        downloadedIcon: HTMLImageElement;
    };
}
export declare class SettingsSearchEngineIconElement extends PolymerElement {
    static get is(): string;
    static get template(): HTMLTemplateElement;
    static get properties(): {
        engine: {
            type: ObjectConstructor;
            observer: string;
        };
        showDownloadedIcon_: {
            type: BooleanConstructor;
            value: boolean;
        };
    };
    engine: SearchEngine;
    private showDownloadedIcon_;
    private timeoutId_;
    private getIconUrl_;
    private onEngineChanged_;
    private onDownloadedIconLoadSuccess_;
    private onDownloadedIconLoadError_;
    private shouldShowDownloadedIcon_;
}
declare global {
    interface HTMLElementTagNameMap {
        'settings-search-engine-icon': SettingsSearchEngineIconElement;
    }
}
