@open-take/compositor 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -175,7 +175,7 @@ type CaptureLog = {
175
175
  tEndMs?: number;
176
176
  /** Steps the capture DROPPED (target not found / endpoint unresolved) — the
177
177
  * take still completes, but a missing beat must reach the end-of-run
178
- * summary and (with --strict) the exit code, not just an early stderr line
178
+ * summary and (strict by default) the exit code, not just an early stderr line
179
179
  * buried under render progress. `step` is the plan's 0-based step index. */
180
180
  skipped?: {
181
181
  step: number;
@@ -183,6 +183,17 @@ type CaptureLog = {
183
183
  target?: string;
184
184
  reason: string;
185
185
  }[];
186
+ /** Pre-capture target-resolution findings (runtime/src/precheck.ts): every
187
+ * plan target resolved against the page as loaded, with the capture's own
188
+ * locator semantics, BEFORE the screencast started. Errors abort the
189
+ * capture, so only warnings ever reach a written log — kept here so a take
190
+ * on disk records what the gate already said about its plan. */
191
+ precheck?: {
192
+ severity: "error" | "warn";
193
+ path: string;
194
+ message: string;
195
+ fix?: string;
196
+ }[];
186
197
  /** Beats whose editorial hold ran out before the PAGE had finished — the
187
198
  * capture kept waiting (see runtime/src/settle.ts) and records how much
188
199
  * longer it needed. This is the measurement that replaces guessing
@@ -533,70 +544,87 @@ declare function motionBlurActive(mb: MotionBlurConfig | undefined): mb is Motio
533
544
  declare const DEFAULT_FRAMING: FramingConfig;
534
545
  declare const DEFAULT_MOTION_BLUR: MotionBlurConfig;
535
546
  declare const DEFAULT_CURSOR: CursorConfig; //#endregion
536
- //#region src/presets.d.ts
547
+ //#region src/validate.d.ts
537
548
 
538
549
  //# sourceMappingURL=types.d.ts.map
539
- declare const ZOOM_LEVELS: {
540
- readonly light: 1.25;
541
- readonly medium: 1.5;
542
- readonly tight: 1.8;
543
- readonly close: 2.2;
550
+ type CompositionIssue = {
551
+ severity: "error" | "warn";
552
+ /** dotted/indexed field path, e.g. "events[3].zoom.scale" */
553
+ path: string;
554
+ message: string;
555
+ /** a concrete suggested correction the agent can apply */
556
+ fix?: string;
544
557
  };
545
- type ZoomLevelName = keyof typeof ZOOM_LEVELS;
546
- /** Name a scale if it sits within tolerance of a preset; else null (custom). */
547
- declare function zoomLevelName(scale: number, tol?: number): ZoomLevelName | null;
548
- type MotionPreset = Pick<CursorConfig, "travelWidthsPerSec" | "travelMinMs" | "travelMaxMs" | "holdMs" | "zoomInMs" | "zoomOutMs" | "pullOutDwellMs"> & {
549
- zoomEase?: undefined;
558
+ type ValidateOpts = {
559
+ /** soft ceiling on zoom scale — above it the pixels visibly soften (warn).
560
+ * Default 2.5 (the planner caps auto-zoom at 1.5; manual edits get headroom). */
561
+ maxScale?: number;
562
+ /** the ground-truth capture log. When given, action `tMs` is checked against
563
+ * it (capture-lock). Omit to skip that check. */
564
+ captureLog?: CaptureLog;
550
565
  };
551
- declare const MOTION: Record<"calm" | "natural" | "brisk", MotionPreset>;
552
- type MotionName = keyof typeof MOTION;
553
- /** A clamp matches its preset — or the LEGACY value every composition carried
554
- * before the clamps joined the presets. Without that second door, applying
555
- * "brisk" to an old take and re-reading it would report "custom" purely
556
- * because the take predates clamp-aware presets. Same escape hatch
557
- * pullOutDwellMs already has. */
558
- declare const CLAMP_TOL_MS = 20;
559
- declare function motionName(cursor: CursorConfig): MotionName | null;
560
- type LookPreset = Pick<FramingConfig, "background" | "cornerRadius" | "shadow">;
561
- declare const LOOKS: Record<string, LookPreset>;
562
- type LookName = keyof typeof LOOKS;
563
- declare function lookName(framing: FramingConfig): string | null;
564
- declare const FINISH: Record<"smooth" | "crisp" | "heavy", MotionBlurConfig | undefined>;
565
- type FinishName = keyof typeof FINISH;
566
- declare function finishName(mb: MotionBlurConfig | undefined): FinishName | null;
567
-
568
- //#endregion
569
- //#region src/ffmpeg.d.ts
570
- //# sourceMappingURL=presets.d.ts.map
571
- declare function resolveFfmpeg(): Promise<string>;
572
- /** True when an `ffmpeg -encoders` table has a video-encoder ROW named
573
- * `encoder` (" V....D libx264 ..."), not merely the name as a substring
574
- * somewhere — descriptions repeat encoder names constantly. */
575
-
576
- declare function resolveFfprobe(): Promise<string>;
566
+ declare function validateComposition(comp: TakeComposition, opts?: ValidateOpts): CompositionIssue[];
567
+ /** Format issues for a human/agent log. Errors first. */
568
+ declare function formatIssues(issues: CompositionIssue[]): string;
577
569
 
578
570
  //#endregion
579
- //#region src/plan.d.ts
580
- //# sourceMappingURL=ffmpeg.d.ts.map
581
- type PlanOpts = {
582
- output?: {
583
- width?: number;
584
- height?: number;
585
- fps?: number;
586
- };
587
- framing?: Partial<FramingConfig>;
588
- cursor?: Partial<CursorConfig>;
589
- /** auto-camera director tuning (default DEFAULT_CAMERA — ON). The director
590
- * decides zoom from the ground-truth log; these are its feel knobs. Set
591
- * `camera.enabled = false` for the manual escape hatch (only explicit
592
- * event `zoom: "always"/"never"` produce zoom then). */
593
- camera?: Partial<CameraConfig>;
594
- };
595
- declare function planComposition(log: CaptureLog, opts?: PlanOpts): TakeComposition;
571
+ //#region src/audit-cursor.d.ts
572
+ //# sourceMappingURL=validate.d.ts.map
573
+ type AuditCursorOpts = {
574
+ /** ms after a beat's landing to sample (clamped inside the beat's hold) */
575
+ sampleAfterMs?: number;
576
+ /** max tolerated tip error, VIEWPORT px (default 6; good takes median 0.21) */
577
+ tolPx?: number;
578
+ };
579
+ type AuditRow = {
580
+ /** event index */
581
+ beat: number;
582
+ /** sample instant in the DELIVERED video (startMs head trim applied), s */
583
+ tSec: number;
584
+ /** expected cursor-tip position in the finished frame, output px */
585
+ expect: Pt;
586
+ /** best-match tip position, output px (absent when unverifiable) */
587
+ found?: Pt;
588
+ /** tip error in viewport px (output-px error / camera scale) */
589
+ errViewportPx?: number;
590
+ /** masked NCC score of the best match */
591
+ ncc?: number;
592
+ /** the expected tip is not in the delivered frame — unverifiable, never an error */
593
+ offscreen?: boolean;
594
+ };
595
+ type PredictedTip = {
596
+ /** event index */
597
+ beat: number;
598
+ /** sample instant on the composition (capture) timeline, ms */
599
+ sampleMs: number;
600
+ /** the same instant in the DELIVERED video (startMs head trim applied), s */
601
+ tSec: number;
602
+ /** expected cursor-tip position in the finished frame, output px */
603
+ expect: Pt;
604
+ /** camera scale at the sample instant (output px per video px) */
605
+ camScale: number;
606
+ /** the tip is not in the delivered frame (zoomed out of frame, or the head
607
+ * trim cut the sample) — unverifiable, never an error */
608
+ offscreen: boolean;
609
+ };
610
+ /** Where the compositor MEANT to draw the pointer tip, per pointer-landing
611
+ * beat, in finished-frame px — via the engine's own public math, so there is
612
+ * no second geometry to drift. */
613
+ declare function predictCursorTips(comp: TakeComposition, sampleAfterMs?: number): PredictedTip[];
614
+ /** Turn measured rows into issues (pure — unit-testable without a video). */
615
+ declare function auditIssues(rows: AuditRow[], tolPx?: number): CompositionIssue[];
616
+ /** Audit the drawn cursor of a delivered mp4 against the composition that
617
+ * rendered it. One row per pointer-landing beat; issues in the
618
+ * validateComposition shape ("error" = the render is wrong, "warn" = a beat
619
+ * the audit cannot see). */
620
+ declare function auditCursor(comp: TakeComposition, mp4Path: string, opts?: AuditCursorOpts): Promise<{
621
+ rows: AuditRow[];
622
+ issues: CompositionIssue[];
623
+ }>;
596
624
 
597
625
  //#endregion
598
626
  //#region src/camera.d.ts
599
- //# sourceMappingURL=plan.d.ts.map
627
+ //# sourceMappingURL=audit-cursor.d.ts.map
600
628
  /** One action, already mapped into video-px, handed to the director. */
601
629
  type Beat = {
602
630
  kind: "click" | "type" | "drag" | "scroll" | "hover" | "look" | "press" | "dropFiles";
@@ -641,86 +669,18 @@ declare function directCamera(beats: Beat[], video: {
641
669
  }, cam: CameraConfig, rest: number, endMs: number): Framing[];
642
670
 
643
671
  //#endregion
644
- //#region src/validate.d.ts
672
+ //#region src/ffmpeg.d.ts
645
673
  //# sourceMappingURL=camera.d.ts.map
646
- type CompositionIssue = {
647
- severity: "error" | "warn";
648
- /** dotted/indexed field path, e.g. "events[3].zoom.scale" */
649
- path: string;
650
- message: string;
651
- /** a concrete suggested correction the agent can apply */
652
- fix?: string;
653
- };
654
- type ValidateOpts = {
655
- /** soft ceiling on zoom scale — above it the pixels visibly soften (warn).
656
- * Default 2.5 (the planner caps auto-zoom at 1.5; manual edits get headroom). */
657
- maxScale?: number;
658
- /** the ground-truth capture log. When given, action `tMs` is checked against
659
- * it (capture-lock). Omit to skip that check. */
660
- captureLog?: CaptureLog;
661
- };
662
- declare function validateComposition(comp: TakeComposition, opts?: ValidateOpts): CompositionIssue[];
663
- /** Format issues for a human/agent log. Errors first. */
664
- declare function formatIssues(issues: CompositionIssue[]): string;
674
+ declare function resolveFfmpeg(): Promise<string>;
675
+ /** True when an `ffmpeg -encoders` table has a video-encoder ROW named
676
+ * `encoder` (" V....D libx264 ..."), not merely the name as a substring
677
+ * somewhere — descriptions repeat encoder names constantly. */
665
678
 
666
- //#endregion
667
- //#region src/render.d.ts
668
- //# sourceMappingURL=validate.d.ts.map
669
- type RenderTakeOpts = {
670
- /** input capture video (webm or mp4) */
671
- videoPath: string;
672
- /** output polished mp4 path */
673
- outPath: string;
674
- /** provide a capture log (auto-planned) ... */
675
- log?: CaptureLog;
676
- /** ... or a ready-made composition (editable artifact) */
677
- composition?: TakeComposition;
678
- planOpts?: PlanOpts;
679
- logProgress?: boolean;
680
- /** Chrome binary for the headless render. Pass the same Chrome-for-Testing
681
- * the capture path uses so a single browser serves both stages. The
682
- * higher-level runtime resolves and supplies this to puppeteer-core. */
683
- chromePath: string;
684
- /** the capture log, for cross-checking that an edited composition didn't
685
- * drift an action's capture-locked tMs (see validateComposition). Optional —
686
- * the structural checks run regardless. */
687
- captureLog?: CaptureLog;
688
- /** skip the pre-render structural validation. Default false — we validate and
689
- * refuse to render an errored composition (a render is expensive; catch a bad
690
- * hand-edit in milliseconds instead). */
691
- skipValidate?: boolean;
692
- /** progress callback (0..1) forwarded from revideo's renderer. */
693
- onProgress?: (progress: number) => void;
694
- /** render only this window of the composition timeline, in SECONDS — the
695
- * windowed-render path behind A/B variant reels (a 4s window instead of the
696
- * whole take). With motion blur OFF, frames are identical to the same span
697
- * of a full render (the timeline is deterministic). With blur active the
698
- * content matches but not bit-exactly: the tmix shutter windows are phased
699
- * from the CLIP start, and the first frame's trailing window is truncated.
700
- * Forwarded to revideo's projectSettings.range. */
701
- rangeSec?: [number, number];
702
- /** write the editable composition (default true). Review copies and A/B reels
703
- * are disposable — they skip it. */
704
- writeCompositionSibling?: boolean;
705
- /** where to write it. Default `<out>.composition.json`; the runtime passes the
706
- * take's working dir instead. WHERE a take keeps its files is a take-layout
707
- * question — the compositor just writes where it is told. */
708
- compositionPath?: string;
709
- };
710
- type RenderTakeResult = {
711
- mp4Path: string;
712
- compositionPath: string;
713
- /** non-fatal validator findings for this composition. The render went ahead,
714
- * but each one is something the author has to look at — a zoom that punches
715
- * into empty space, a press whose zoom departs before the keypress, a tail
716
- * that delivers a frozen screen. Empty when `skipValidate` is set. */
717
- warnings: CompositionIssue[];
718
- };
719
- declare function renderTake(opts: RenderTakeOpts): Promise<RenderTakeResult>;
679
+ declare function resolveFfprobe(): Promise<string>;
720
680
 
721
681
  //#endregion
722
682
  //#region src/math.d.ts
723
- //# sourceMappingURL=render.d.ts.map
683
+ //# sourceMappingURL=ffmpeg.d.ts.map
724
684
  declare namespace math_d_exports {
725
685
  export { CamRect, StageKeyframes, bboxFitScale, buildLegs, buildStageKeyframes, cameraRampSchedule, carryWindow, clampCenter, cubicBezier, cursorPos, fmtBytes, ghostCardLines, gradientEndpoints, isDragging, keyvalN, keyvalR, restStageScale, smoother, springEase, stageCamera, stageEasing };
726
686
  }
@@ -851,5 +811,116 @@ declare function ghostCardLines(files: {
851
811
  };
852
812
 
853
813
  //#endregion
854
- export { BBox, Beat, CLAMP_TOL_MS, CameraConfig, Caption, CaptureClick, CaptureDrag, CaptureDropFiles, CaptureEvent, CaptureEventBase, CaptureHover, CaptureLog, CaptureLook, CapturePress, CaptureScroll, CaptureType, CompEvent, CompositionIssue, CursorConfig, DEFAULT_CAMERA, DEFAULT_CURSOR, DEFAULT_FRAMING, DEFAULT_MOTION_BLUR, FINISH, FinishName, Framing, FramingConfig, GhostCardConfig, LOOKS, LookName, LookPreset, MOTION, MotionBlurConfig, MotionName, MotionPreset, PlanOpts, Pt, RenderTakeOpts, RenderTakeResult, ReviewBadge, ReviewDecor, TakeComposition, TitleCard, ValidateOpts, ZOOM_LEVELS, ZoomDecision, ZoomIntent, ZoomLevelName, directCamera, finishName, formatIssues, lookName, math_d_exports as math, motionBlurActive, motionName, planComposition, renderTake, resolveFfmpeg, resolveFfprobe, validateComposition, zoomLevelName };
814
+ //#region src/plan.d.ts
815
+ type PlanOpts = {
816
+ output?: {
817
+ width?: number;
818
+ height?: number;
819
+ fps?: number;
820
+ };
821
+ framing?: Partial<FramingConfig>;
822
+ cursor?: Partial<CursorConfig>;
823
+ /** auto-camera director tuning (default DEFAULT_CAMERA — ON). The director
824
+ * decides zoom from the ground-truth log; these are its feel knobs. Set
825
+ * `camera.enabled = false` for the manual escape hatch (only explicit
826
+ * event `zoom: "always"/"never"` produce zoom then). */
827
+ camera?: Partial<CameraConfig>;
828
+ };
829
+ declare function planComposition(log: CaptureLog, opts?: PlanOpts): TakeComposition;
830
+
831
+ //#endregion
832
+ //#region src/presets.d.ts
833
+ //# sourceMappingURL=plan.d.ts.map
834
+ declare const ZOOM_LEVELS: {
835
+ readonly light: 1.25;
836
+ readonly medium: 1.5;
837
+ readonly tight: 1.8;
838
+ readonly close: 2.2;
839
+ };
840
+ type ZoomLevelName = keyof typeof ZOOM_LEVELS;
841
+ /** Name a scale if it sits within tolerance of a preset; else null (custom). */
842
+ declare function zoomLevelName(scale: number, tol?: number): ZoomLevelName | null;
843
+ type MotionPreset = Pick<CursorConfig, "travelWidthsPerSec" | "travelMinMs" | "travelMaxMs" | "holdMs" | "zoomInMs" | "zoomOutMs" | "pullOutDwellMs"> & {
844
+ zoomEase?: undefined;
845
+ };
846
+ declare const MOTION: Record<"calm" | "natural" | "brisk", MotionPreset>;
847
+ type MotionName = keyof typeof MOTION;
848
+ /** A clamp matches its preset — or the LEGACY value every composition carried
849
+ * before the clamps joined the presets. Without that second door, applying
850
+ * "brisk" to an old take and re-reading it would report "custom" purely
851
+ * because the take predates clamp-aware presets. Same escape hatch
852
+ * pullOutDwellMs already has. */
853
+ declare const CLAMP_TOL_MS = 20;
854
+ declare function motionName(cursor: CursorConfig): MotionName | null;
855
+ type LookPreset = Pick<FramingConfig, "background" | "cornerRadius" | "shadow">;
856
+ declare const LOOKS: Record<string, LookPreset>;
857
+ type LookName = keyof typeof LOOKS;
858
+ declare function lookName(framing: FramingConfig): string | null;
859
+ declare const FINISH: Record<"smooth" | "crisp" | "heavy", MotionBlurConfig | undefined>;
860
+ type FinishName = keyof typeof FINISH;
861
+ declare function finishName(mb: MotionBlurConfig | undefined): FinishName | null;
862
+
863
+ //#endregion
864
+ //#region src/render.d.ts
865
+ //# sourceMappingURL=presets.d.ts.map
866
+ type RenderTakeOpts = {
867
+ /** input capture video (webm or mp4) */
868
+ videoPath: string;
869
+ /** output polished mp4 path */
870
+ outPath: string;
871
+ /** provide a capture log (auto-planned) ... */
872
+ log?: CaptureLog;
873
+ /** ... or a ready-made composition (editable artifact) */
874
+ composition?: TakeComposition;
875
+ planOpts?: PlanOpts;
876
+ logProgress?: boolean;
877
+ /** Chrome binary for the headless render. Pass the same Chrome-for-Testing
878
+ * the capture path uses so a single browser serves both stages. The
879
+ * higher-level runtime resolves and supplies this to puppeteer-core. */
880
+ chromePath: string;
881
+ /** the capture log, for cross-checking that an edited composition didn't
882
+ * drift an action's capture-locked tMs (see validateComposition). Optional —
883
+ * the structural checks run regardless. */
884
+ captureLog?: CaptureLog;
885
+ /** skip the pre-render structural validation. Default false — we validate and
886
+ * refuse to render an errored composition (a render is expensive; catch a bad
887
+ * hand-edit in milliseconds instead). */
888
+ skipValidate?: boolean;
889
+ /** progress callback (0..1) forwarded from revideo's renderer. */
890
+ onProgress?: (progress: number) => void;
891
+ /** render only this window of the composition timeline, in SECONDS — the
892
+ * windowed-render path behind A/B variant reels (a 4s window instead of the
893
+ * whole take). With motion blur OFF, frames are identical to the same span
894
+ * of a full render (the timeline is deterministic). With blur active the
895
+ * content matches but not bit-exactly: the tmix shutter windows are phased
896
+ * from the CLIP start, and the first frame's trailing window is truncated.
897
+ * Forwarded to revideo's projectSettings.range. */
898
+ rangeSec?: [number, number];
899
+ /** write the editable composition (default true). Review copies and A/B reels
900
+ * are disposable — they skip it. */
901
+ writeCompositionSibling?: boolean;
902
+ /** where to write it. Default `<out>.composition.json`; the runtime passes the
903
+ * take's working dir instead. WHERE a take keeps its files is a take-layout
904
+ * question — the compositor just writes where it is told. */
905
+ compositionPath?: string;
906
+ };
907
+ type RenderTakeResult = {
908
+ mp4Path: string;
909
+ compositionPath: string;
910
+ /** non-fatal validator findings for this composition. The render went ahead,
911
+ * but each one is something the author has to look at — a zoom that punches
912
+ * into empty space, a press whose zoom departs before the keypress, a tail
913
+ * that delivers a frozen screen. Empty when `skipValidate` is set. */
914
+ warnings: CompositionIssue[];
915
+ /** the composition this render actually used — callers that judge the
916
+ * output (post-shoot gates) must judge THIS object, not a re-read of
917
+ * composition.json, which a concurrent editor save may have moved on. */
918
+ composition: TakeComposition;
919
+ };
920
+ declare function renderTake(opts: RenderTakeOpts): Promise<RenderTakeResult>;
921
+
922
+ //#endregion
923
+ //# sourceMappingURL=render.d.ts.map
924
+
925
+ export { AuditCursorOpts, AuditRow, BBox, Beat, CLAMP_TOL_MS, CameraConfig, Caption, CaptureClick, CaptureDrag, CaptureDropFiles, CaptureEvent, CaptureEventBase, CaptureHover, CaptureLog, CaptureLook, CapturePress, CaptureScroll, CaptureType, CompEvent, CompositionIssue, CursorConfig, DEFAULT_CAMERA, DEFAULT_CURSOR, DEFAULT_FRAMING, DEFAULT_MOTION_BLUR, FINISH, FinishName, Framing, FramingConfig, GhostCardConfig, LOOKS, LookName, LookPreset, MOTION, MotionBlurConfig, MotionName, MotionPreset, PlanOpts, Pt, RenderTakeOpts, RenderTakeResult, ReviewBadge, ReviewDecor, TakeComposition, TitleCard, ValidateOpts, ZOOM_LEVELS, ZoomDecision, ZoomIntent, ZoomLevelName, auditCursor, auditIssues, directCamera, finishName, formatIssues, lookName, math_d_exports as math, motionBlurActive, motionName, planComposition, predictCursorTips, renderTake, resolveFfmpeg, resolveFfprobe, validateComposition, zoomLevelName };
855
926
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/presets.ts","../src/ffmpeg.ts","../src/plan.ts","../src/camera.ts","../src/validate.ts","../src/render.ts","../src/math.ts"],"sourcesContent":null,"mappings":";;;KAMY,EAAA;;;AAAZ,CAAA;AACY,KAAA,IAAA,GAAI;;EAKJ,CAAA,EAAA,MAAA;;;AAIZ,CAAA;;AAKQ,KATI,UAAA,GASJ,MAAA,GAAA,OAAA,GAAA,QAAA;;;AAoBU,KAzBN,gBAAA,GAyBM;;EAUN,CAAA,EAAA,MAAA;;;EAIA,GAAA,CAAA,EAlCJ,IAkCI;;;EAUA;;;EAiBA;;;AAUZ;;;;;SAzDS;;;AAsET;;;cAhEc;EAyEF;;;;;;AAaZ,CAAA;AAcA;AAAwB,KA1FZ,YAAA,GAAe,gBA0FH,GAAA;EAAA,IACpB,CAAA,EAAA,OAAA;CAAY;;;AAIZ,KA3FQ,WAAA,GAAc,gBA2FtB,GAAA;EAAY,IACZ,EAAA,MAAA;EAAW;EACC,IACZ,EAAA,MAAA;EAAgB;EAER,UAAA,EAAA,MAAU;AA0CtB,CAAA;;;AAeU,KA/IE,WAAA,GAAc,gBA+IhB,GAAA;EAAE,IAAA,EAAA,MAAA;;;IAOA,CAAA,EAAA,MAAA;IAQA,CAAA,EAAA,MAAS;EAAA,CAAA;EAAA;EAKV,IAEF,CAAA,EAAA;IAED,CAAA,EAAA,MAAA;IASD,CAAA,EAAA,MAAA;EAAE,CAAA,EAEA;EAAE;EAOkB,UAAA,EAAA,MAAA;EAGjB;AAWZ;;;;;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D;AAQA;AAAqB,iBO4UL,WAAA,CP5UK,IAAA,EO4Ua,eP5Ub,CAAA,EAAA;EAAA,CAAA,EAKZ,MAAA;EAAE,IAEF,EAAA,MAAA;EAAI,SAEL,EAAA,MAAA;EAAY,EAAA,EASb,CAAA,CAAA,EAAA,MAAA,EAAA,GAAA;IAEE,KAAA,EAAA,MAAA;IAOK,MAAA,EOqTgC,EPrThC;EAAe,CAAA;AAG7B,CAAA;AAWA,KOwUK,GAAA,GPxUO;;;KO2UP;KACA;;SAEI;;EPlOG;;;AAUZ;;;;;;;;EASY,KAAA,CAAA,EAAA,MAAO;;iBOoRH,SAAA,OAAgB,kBAAkB;iBAoIlC,SAAA,kBAA2B,aAAa,kBAAkB;;iBAiC1D,UAAA,kBAA4B;;APjb5C;;;iBO2bgB,WAAA;;;SAER;;EPpbI,EAAA,EAAA,MAAA;;;iBO4bI,QAAA;;;;AP7ahB;AA8Ba,iBOyZG,cAAA,CPzZa,KAS5B,EAAA;EAEW,IAAA,EAAA,MAAA;EAAe,IAAA,CAAA,EAAA,MAAA;CAAA,EAAA,CAAA,EAAA;EAYH,KACd,EAAA,MAAA;EAAY,IAEP,EAAA,MAAA;CAAgB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/validate.ts","../src/audit-cursor.ts","../src/camera.ts","../src/ffmpeg.ts","../src/math.ts","../src/plan.ts","../src/presets.ts","../src/render.ts"],"sourcesContent":null,"mappings":";;;KAMY,EAAA;;;AAAZ,CAAA;AACY,KAAA,IAAA,GAAI;;EAKJ,CAAA,EAAA,MAAA;;;AAIZ,CAAA;;AAKQ,KATI,UAAA,GASJ,MAAA,GAAA,OAAA,GAAA,QAAA;;;AAoBU,KAzBN,gBAAA,GAyBM;;EAUN,CAAA,EAAA,MAAA;;;EAIA,GAAA,CAAA,EAlCJ,IAkCI;;;EAUA;;;EAiBA;;;AAUZ;;;;;SAzDS;;;AAsET;;;cAhEc;EAyEF;;;;;;AAaZ,CAAA;AAc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