import { Item, BarcodeFormat, Size } from "@aurigma/design-atoms-model/Product/Items";
import { IItemData } from "./ItemsDataApplierInterfaces";
import { ProductHandler } from "./ProductHandler";
import { Canvas } from "../Canvas";
import { ProductThemeManager } from "./ProductTheme/ProductThemeManager";
export declare class ItemsDataApplier {
    private _productHandler;
    private _canvas;
    private _productThemeManager;
    private readonly _colorParser;
    constructor(_productHandler: ProductHandler, _canvas: Canvas, _productThemeManager: ProductThemeManager);
    applyToItem(item: Item, data: IItemData, params?: IApplyParams): Promise<boolean>;
    private _applyToText;
    private _convertShrinkMode;
    private _convertOverflowStrategy;
    private _applyToLineItem;
    private _applyToRectangle;
    private _applyToGroupItem;
    private _applyToEllipse;
    private _applyToClipartItem;
    private _applyToBarcode;
    private _applyBarcodeOptions;
    private _applyToPlaceholderItem;
    private _applyToImage;
    private _applyImagePermissions;
    private _applyBarcodePermissions;
    private _applyToContentItem;
    private _applyToShapeItem;
    private _applyToBaseTextItem;
    private _applyToItem;
    private _applyPositionAndSize;
    private _getOriginalImageSize;
    private static _getTargetBounds;
    static parseItemsDataValueRelativeToHeight: (value: string | number, productHandler: ProductHandler, relativeToPrintArea: boolean) => number;
    private static _getVisualSize;
    private _getImageSource;
    private _getRotatedRegion;
    private _updateThemeForItem;
    private _calcNewGroupBounds;
    static getBarcodeRatio(barcodeFormat: BarcodeFormat): Size;
    private _parseColor;
}
export interface IApplyParams {
    ignorePermissions?: boolean;
    changePosition?: boolean;
    relativeToPrintArea?: boolean;
}
