import type { Style, EasingType } from 'leviar'; import type { AssetKeysOf } from '../types/config'; export type ElementKind = 'rect' | 'ellipse' | 'text' | 'image'; export type ElementPosition = { x?: number; y?: number; }; export type ElementPivot = { x?: number; y?: number; }; export type ElementScale = number | { x?: number; y?: number; z?: number; }; export interface ElementChildBase { /** 요소 고유 식별자 */ id: string; /** 부모 기준 픽셀 오프셋 위치 */ position?: ElementPosition; /** 기본 스타일 (Leviar Style) */ style?: Partial