import { P as ParsedGsap, c as GsapMethod, G as GsapAnimation } from './gsapSerialize-DQW1kZ2G.js'; export { A as ArcPathConfig, a as ArcPathSegment, e as GsapProvenance, f as GsapProvenanceKind, K as KeyframeEditability, M as MotionPathShape, m as buildArcPath, i as editabilityForProvenance } from './gsapSerialize-DQW1kZ2G.js'; import './types-ewozML_N.js'; import './gsapConstants.js'; interface TweenCallInfo { node: any; /** acorn-walk ancestor array at the call site (root→call, call is last). */ ancestors: any[]; method: GsapMethod; selector: string; varsArg: any; fromArg?: any; positionArg?: any; /** True for a base `gsap.set(...)` (off-timeline) rather than `tl.set(...)`. */ global?: boolean; } interface ParsedGsapAcornForWrite { ast: any; timelineVar: string; hasTimeline: boolean; located: Array<{ id: string; call: TweenCallInfo; animation: GsapAnimation; }>; } /** * Parse a GSAP script and return internal AST + call nodes for the write path. * Consumed by gsapWriterAcorn.ts (magic-string offset-splice). */ declare function parseGsapScriptAcornForWrite(script: string): ParsedGsapAcornForWrite | null; /** * Browser-safe equivalent of `parseGsapScript` (gsapParser.ts). * Uses acorn + acorn-walk instead of recast + @babel/parser. */ declare function parseGsapScriptAcorn(script: string): ParsedGsap; /** Source offset of the first timeline or standalone GSAP MotionPathPlugin tween. */ declare function gsapScriptMotionPathFirstUseIndex(script: string): number | null; /** True when a timeline or standalone GSAP tween authors a MotionPathPlugin property. */ declare function gsapScriptUsesMotionPath(script: string): boolean; interface GsapLabelEntry { name: string; position: number; } /** * Extract all `tl.addLabel("name", position)` calls from a GSAP script. * * Returns labels in source order. Position must be a numeric literal; labels * with non-numeric positions (e.g. label-relative offsets) are skipped. * * Pure — no side effects, no DOM, no Date.now. */ declare function extractGsapLabels(script: string): GsapLabelEntry[]; export { type GsapLabelEntry, type ParsedGsapAcornForWrite, type TweenCallInfo, extractGsapLabels, gsapScriptMotionPathFirstUseIndex, gsapScriptUsesMotionPath, parseGsapScriptAcorn, parseGsapScriptAcornForWrite };