import type { IRComposition, IRLayerNode, IRShapeData } from '@vvfx/animation-ir'; import type { LayerProcessingContext } from '../types'; export declare function buildComponent(layer: IRLayerNode, itemId: string, anchorScaleX: number, anchorScaleY: number, ctx: LayerProcessingContext): string | undefined; /** * Copy the raw GE mask object (from ge2ir passthrough metadata) onto a freshly * built component, as a top-level `mask` field matching GE's structure. For a * mask SOURCE this carries `{isMask:true, alphaMaskEnabled}`; for a TARGET it * carries `{isMask:false, reference, inverted}` where `reference.id` is still * the stale GE1 component id — `applyGeMaskRemap` rewrites it in post-process. * No-op for non-ge sources (Lottie masks go through the IRLayerNode.mask path). */ export declare function applyGeMask(ir: IRComposition, layer: IRLayerNode, component: Record): void; export declare function buildShapeOptions(shapeData: IRShapeData, ratio: number, ctx?: LayerProcessingContext): Record;