import Brick from "../core/brick.js";
import type { BrickConstructor } from "../types.js";
type IconMode = "index" | "sprite";
export default class Icon extends Brick {
    private readonly spriteUrl;
    readonly mode: IconMode;
    readonly basePath: string;
    private sprite;
    constructor({ block, element, parentBricks }: BrickConstructor);
    private parseIconConfig;
    private createEditAction;
    private getCurrentIconId;
    private openIconSelector;
    initElement: () => Promise<void>;
    private loadSpriteMode;
    private loadIndexMode;
    updateIcon: (id?: string) => void;
    private buildIconHref;
    activate(): void;
    desactivate(): void;
}
export {};
//# sourceMappingURL=Icon.d.ts.map