import { IDesignItem } from "../../item/IDesignItem.js";
import { IDesignerCanvas } from "../../widgets/designerView/IDesignerCanvas.js";
import { IStringPosition } from "../htmlWriterService/IStringPosition.js";
import { ISourcePart } from "../sourceMapService/ISourcePart.js";
import { IDesignItemDocumentPositionService } from "./IDesignItemDocumentPositionService.js";
export declare class DesignItemDocumentPositionService implements IDesignItemDocumentPositionService {
    private _designItemsAssignmentList?;
    private _sourceParts;
    private _sourcePartsByDesignItem;
    private _sourcePartsByDesignItemAndKey;
    constructor(designerCanvas: IDesignerCanvas);
    setPosition(designItem: IDesignItem, position: IStringPosition): void;
    getPosition(designItem: IDesignItem): IStringPosition;
    clearSourceParts(): void;
    addSourcePart(sourcePart: ISourcePart): void;
    addSourceParts(sourceParts: ISourcePart[]): void;
    getSourcePartAt(position: number): ISourcePart;
    getSourceParts(designItem: IDesignItem): ISourcePart[];
    getSourcePartPosition(designItem: IDesignItem, key: string): IStringPosition;
}
