import type { IRAssetReference, IRBlendMode, IRColor, IRShapeData, IRTextData } from '@vvfx/animation-ir'; import type { GESceneContext } from '../types'; export interface ComponentData { type: 'image' | 'solid' | 'text' | 'shape'; asset?: IRAssetReference; solidColor?: IRColor; text?: IRTextData; shapes?: IRShapeData[]; blendMode?: IRBlendMode; anchorScale?: [number, number]; /** Original GE component id — rendezvous key for cross-component references (masks). */ geComponentId?: string; /** Raw GE component-level `mask` object (source: {isMask:true,...}, target: {isMask:false,reference,inverted}). */ rawMask?: Record; } export declare function parseComponent(item: Record, ctx: GESceneContext): ComponentData | undefined;