import { Graphics2DEditorState, Graphics2DTransformDraft } from '../product-3d-viewer/graphics2d-editor'; import { TemplateResult } from 'lit'; import { Translator } from './types'; export type Graphics2DTab = "image" | "text" | "finish" | "size" | "position"; export interface Graphics2DRenderModel { state: Readonly; tab: Graphics2DTab; previewUrls: Readonly>; minScale: number; maxScale: number; positionStep: number; scaleStep: number; t: Translator; onTabChange: (tab: Graphics2DTab) => void; onTargetSelect: (targetId: string) => void; onElementSelect: (elementId: string) => void; onPickFile: (action: "add" | "replace") => void; onFileChange: (event: Event) => void; onFileCancel: () => void; onAddText: () => void; onTextUpdate: (values: { content?: string; fontFamily?: string; fontWeight?: string; color?: string; }) => void; onRemoveElement: () => void; onFinishSelect: (finishId: string | null) => void; onTransformInput: (values: Graphics2DTransformDraft) => void; onTransformCommit: (values: Graphics2DTransformDraft) => void; onRotate: (degrees: -90 | 90) => void; onFlip: (axis: "x" | "y") => void; onRetry: () => void; } export declare const renderGraphics2DPanel: (model: Graphics2DRenderModel) => TemplateResult;