/// <reference path="../../pxtlib.d.ts" />
import { FieldCustom, FieldCustomDropdownOptions } from "./field_utils";
import { FieldDropdownGrid } from "./field_dropdowngrid";
export interface FieldImageDropdownOptions extends FieldCustomDropdownOptions {
    columns?: string;
    maxRows?: string;
    width?: string;
}
export declare class FieldImageDropdown extends FieldDropdownGrid implements FieldCustom {
    protected savedPrimary_: string;
    constructor(text: string, options: FieldImageDropdownOptions, validator?: Function);
    protected setFocusedItem_(gridItemContainer: HTMLElement): void;
    protected createRow(): HTMLDivElement;
    /**
     * Create a dropdown menu under the text.
     * @private
     */
    showEditor_(e?: Event): void;
    doValueUpdate_(newValue: any): void;
    getFieldDescription(): string;
    protected buttonClickAndClose_: (value: string | null) => void;
    /**
     * Callback for when the drop-down is hidden.
     */
    protected onHide_(): void;
}
