@svgsketch/core 4.3.0 → 5.1.0
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.mts +816 -31
- package/dist/index.d.ts +816 -31
- package/dist/index.js +56 -55
- package/dist/index.mjs +56 -55
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -3296,9 +3296,17 @@ interface CircleNodeProps extends CommonNodeProps {
|
|
|
3296
3296
|
y: number;
|
|
3297
3297
|
radius: number;
|
|
3298
3298
|
}
|
|
3299
|
+
/**
|
|
3300
|
+
* An ellipse's centre is `x` / `y`, matching CircleNodeProps and matching
|
|
3301
|
+
* what the SVG importer writes (`svg-leaf-geometry.ts` normalizes the `cx` /
|
|
3302
|
+
* `cy` ATTRIBUTES to these prop names for both shapes, and promotes an
|
|
3303
|
+
* ellipse with equal radii to a circle by reusing the same state). The SVG
|
|
3304
|
+
* attribute names live in the renderer and in the editor's own `cx` / `cy`
|
|
3305
|
+
* accessors; they are not prop names.
|
|
3306
|
+
*/
|
|
3299
3307
|
interface EllipseNodeProps extends CommonNodeProps {
|
|
3300
|
-
|
|
3301
|
-
|
|
3308
|
+
x: number;
|
|
3309
|
+
y: number;
|
|
3302
3310
|
rx: number;
|
|
3303
3311
|
ry: number;
|
|
3304
3312
|
}
|
|
@@ -6441,6 +6449,43 @@ declare function evaluateParsedTimingFunction(parsed: ParsedTimingFunction | nul
|
|
|
6441
6449
|
* because the same kernel parses signed offsets in begin and end value lists.
|
|
6442
6450
|
*/
|
|
6443
6451
|
declare function parseSmilClockValue(value: string): number;
|
|
6452
|
+
/**
|
|
6453
|
+
* Solve a cubic bezier for a given input time using Newton-Raphson
|
|
6454
|
+
* iteration, falling back to bisection when the derivative degenerates.
|
|
6455
|
+
* Returns the eased output, which may leave [0, 1] for overshoot curves.
|
|
6456
|
+
*/
|
|
6457
|
+
declare function solveCubicBezier(x1: number, y1: number, x2: number, y2: number, t: number): number;
|
|
6458
|
+
/**
|
|
6459
|
+
* Evaluate the CSS `steps(count, position)` easing function at progress
|
|
6460
|
+
* `t ∈ [0, 1]`. Returns the eased output in [0, 1]. Follows the
|
|
6461
|
+
* CSS Easing 1 §3.2 algorithm exactly, including the ε-clamped behavior
|
|
6462
|
+
* at t = 1 so the animation always reaches its end value.
|
|
6463
|
+
*/
|
|
6464
|
+
declare function evaluateSteps(t: number, params: StepsParams): number;
|
|
6465
|
+
/**
|
|
6466
|
+
* Evaluate a CSS `linear()` easing function (CSS Easing 2 §2.2) at
|
|
6467
|
+
* progress `t ∈ [0, 1]` by piecewise-linear interpolation between its
|
|
6468
|
+
* control points. Output may leave [0, 1] — `linear()` is the spec's
|
|
6469
|
+
* sanctioned way to express overshoot without a bezier.
|
|
6470
|
+
*/
|
|
6471
|
+
declare function evaluateLinearEasing(points: readonly LinearEasingPoint[], t: number): number;
|
|
6472
|
+
/**
|
|
6473
|
+
* Apply an easing function to a progress value in [0, 1].
|
|
6474
|
+
*
|
|
6475
|
+
* This is the single evaluator behind every timed value in the product:
|
|
6476
|
+
* editor playback, SMIL export baking, and headless rendering all resolve
|
|
6477
|
+
* eased progress here, so a curve can never mean one thing on canvas and
|
|
6478
|
+
* another in the exported file. `customBezier`, `linearPoints` and
|
|
6479
|
+
* `stepsParams` come off the keyframe and are only consulted for the
|
|
6480
|
+
* matching `EasingType`.
|
|
6481
|
+
*
|
|
6482
|
+
* The return value may leave [0, 1] for overshoot curves — that is the
|
|
6483
|
+
* point of `cubic-bezier` with out-of-range control points and of
|
|
6484
|
+
* `linear()`, and callers interpolate through it unclamped.
|
|
6485
|
+
*/
|
|
6486
|
+
declare function evaluateEasing(t: number, easing: EasingType, customBezier?: readonly [number, number, number, number], linearPoints?: readonly LinearEasingPoint[], stepsParams?: StepsParams): number;
|
|
6487
|
+
/** Eased progress for the interval ending at `keyframe` (SMIL's "into" semantics). */
|
|
6488
|
+
declare function evaluateKeyframeEasing(keyframe: AnimationKeyframe, t: number): number;
|
|
6444
6489
|
|
|
6445
6490
|
interface ParsedCssAnimation {
|
|
6446
6491
|
name: string;
|
|
@@ -6472,12 +6517,20 @@ declare function cssAnimationFillField(animation: {
|
|
|
6472
6517
|
};
|
|
6473
6518
|
|
|
6474
6519
|
/** Closed machine-readable diagnostics shared by every document ingress path. */
|
|
6475
|
-
declare const INGEST_DIAGNOSTIC_CODES: readonly ["native-validation-warning", "unavailable-shape-descriptor", "malformed-source", "missing-svg-root", "invalid-svg-attribute", "duplicate-svg-id", "missing-svg-namespace", "no-materializable-content", "unsupported-svg-element", "unsupported-ingest-capability", "empty-hyperlink-dropped", "nested-hyperlink-flattened", "required-features-dropped", "unresolved-reference", "circular-use-reference", "circular-resource-reference", "use-expansion-limit-exceeded", "external-effect-failed", "application-rolled-back"];
|
|
6520
|
+
declare const INGEST_DIAGNOSTIC_CODES: readonly ["native-validation-warning", "unavailable-shape-descriptor", "malformed-source", "missing-svg-root", "invalid-svg-attribute", "duplicate-svg-id", "missing-svg-namespace", "no-materializable-content", "unsupported-svg-element", "unsupported-ingest-capability", "script-behavior-inert", "empty-hyperlink-dropped", "nested-hyperlink-flattened", "required-features-dropped", "unresolved-reference", "circular-use-reference", "circular-resource-reference", "use-expansion-limit-exceeded", "external-effect-failed", "application-rolled-back", "foreign-structure-unmatched"];
|
|
6476
6521
|
type IngestDiagnosticCode = (typeof INGEST_DIAGNOSTIC_CODES)[number];
|
|
6477
6522
|
type IngestDiagnosticSeverity = 'warning' | 'error';
|
|
6478
|
-
type IngestSource = 'native-document' | 'svg' | 'internal-clipboard' | 'plugin' | 'pattern' | 'vectorized-svg';
|
|
6479
|
-
declare const INGRESS_INTENTS: readonly ["native-document-open", "full-snapshot-restore", "svg-document-import", "external-svg-paste", "internal-clipboard-paste", "plugin-svg-fragment", "pattern-fragment", "vectorized-svg-fragment"];
|
|
6523
|
+
type IngestSource = 'native-document' | 'svg' | 'internal-clipboard' | 'plugin' | 'pattern' | 'vectorized-svg' | 'illustrator' | 'pdf';
|
|
6524
|
+
declare const INGRESS_INTENTS: readonly ["native-document-open", "full-snapshot-restore", "svg-document-import", "external-svg-paste", "internal-clipboard-paste", "plugin-svg-fragment", "pattern-fragment", "vectorized-svg-fragment", "illustrator-document-import", "pdf-document-import"];
|
|
6480
6525
|
type IngressIntent = (typeof INGRESS_INTENTS)[number];
|
|
6526
|
+
/**
|
|
6527
|
+
* Intents that open a whole foreign document into the host frame. They share
|
|
6528
|
+
* the document-level policies of an SVG file import: the transcoded SVG an
|
|
6529
|
+
* Illustrator or PDF importer produces is authored SVG as far as ingest is
|
|
6530
|
+
* concerned.
|
|
6531
|
+
*/
|
|
6532
|
+
declare const DOCUMENT_IMPORT_INTENTS: readonly ["svg-document-import", "illustrator-document-import", "pdf-document-import"];
|
|
6533
|
+
declare function isDocumentImportIntent(intent: IngressIntent): boolean;
|
|
6481
6534
|
interface IngestDiagnostic {
|
|
6482
6535
|
readonly severity: IngestDiagnosticSeverity;
|
|
6483
6536
|
readonly code: IngestDiagnosticCode;
|
|
@@ -7252,6 +7305,48 @@ declare function fingerprintIngestSource(source: string): string;
|
|
|
7252
7305
|
/** Recursively freeze a structured plan without retaining mutable caller values. */
|
|
7253
7306
|
declare function freezeIngestPlan(plan: IngestPlanValue): IngestPlan;
|
|
7254
7307
|
|
|
7308
|
+
/**
|
|
7309
|
+
* Node decorations: editor-only structure a foreign importer knows about
|
|
7310
|
+
* its own SVG but SVG cannot carry.
|
|
7311
|
+
*
|
|
7312
|
+
* The Illustrator and PDF importers emit plain SVG. Layer names for the
|
|
7313
|
+
* Elements panel (`layerName`), lock state (`locked`) and the hidden flag the
|
|
7314
|
+
* eye toggle controls (`visible`) are `.svgs`-only fields, so the importer
|
|
7315
|
+
* hands them over keyed by the authored `id` of the element it emitted, and
|
|
7316
|
+
* the plan projection applies them after each shape is minted. One
|
|
7317
|
+
* implementation serves both the editor's plan path and the CLI's snapshot
|
|
7318
|
+
* path; nothing is smuggled through foreign attributes.
|
|
7319
|
+
*/
|
|
7320
|
+
|
|
7321
|
+
interface IngestNodeDecoration {
|
|
7322
|
+
/** Elements panel label. */
|
|
7323
|
+
readonly layerName?: string;
|
|
7324
|
+
readonly locked?: boolean;
|
|
7325
|
+
/**
|
|
7326
|
+
* Hidden through the editor's `visible` flag rather than an authored
|
|
7327
|
+
* `display:none`, so the eye toggle can show it again. Any authored
|
|
7328
|
+
* `display` on the same element is removed.
|
|
7329
|
+
*/
|
|
7330
|
+
readonly hidden?: boolean;
|
|
7331
|
+
/** Apply `locked` to every descendant as well. */
|
|
7332
|
+
readonly inherit?: boolean;
|
|
7333
|
+
}
|
|
7334
|
+
/** Decorations keyed by the authored `id` of the emitted element. */
|
|
7335
|
+
type IngestNodeDecorations = Readonly<Record<string, IngestNodeDecoration>>;
|
|
7336
|
+
interface DecorationOutcome {
|
|
7337
|
+
readonly applied: number;
|
|
7338
|
+
readonly unmatched: readonly string[];
|
|
7339
|
+
}
|
|
7340
|
+
/** Decorate ingest plan candidates in place; returns the authored ids that matched nothing. */
|
|
7341
|
+
declare function decoratePlanNodes(nodes: readonly IngestShapeCandidateValue[], decorations: IngestNodeDecorations): DecorationOutcome;
|
|
7342
|
+
/**
|
|
7343
|
+
* Decorate snapshot shapes in place. The snapshot lists shapes flat with
|
|
7344
|
+
* parents in `sceneTree`, and keeps each authored id in `metadata.name`.
|
|
7345
|
+
*/
|
|
7346
|
+
declare function decorateSnapshotShapes(snapshot: HistorySnapshot, decorations: IngestNodeDecorations): DecorationOutcome;
|
|
7347
|
+
/** The diagnostic for every decoration that found no element. */
|
|
7348
|
+
declare function unmatchedDecorationDiagnostics(outcome: DecorationOutcome, source: IngestSource, entrypoint: IngressIntent): IngestDiagnostic[];
|
|
7349
|
+
|
|
7255
7350
|
type SvgAuthoredAttributeClassification = 'namespace' | 'metadata' | 'aria' | 'data' | 'event-handler' | 'conditional' | 'style' | 'presentation' | 'geometry' | 'element-specific' | 'foreign' | 'passthrough';
|
|
7256
7351
|
interface SvgAuthoredAttributeRecord {
|
|
7257
7352
|
readonly sourceNodeId: string;
|
|
@@ -8026,6 +8121,51 @@ declare function resolveSvgPatternTile(candidate: SvgPatternCandidate, context:
|
|
|
8026
8121
|
/** Build the platform-neutral SVG 2 section 14.3 pattern plan. */
|
|
8027
8122
|
declare function planSvgPatterns(document: SvgSourceDocument, uses: SvgUseOccurrencePlan, _styles: SvgStyleCascadePlan, resources: SvgResourceDependencyPlan, options: PlanSvgPatternsOptions): IngestResult<SvgPatternPlan>;
|
|
8028
8123
|
|
|
8124
|
+
/**
|
|
8125
|
+
* Recognize script-driven animation in preserved `<script>` content.
|
|
8126
|
+
*
|
|
8127
|
+
* The editor preserves scripts verbatim and never executes them, so a document
|
|
8128
|
+
* whose animation lives in JavaScript imports as static artwork with an empty
|
|
8129
|
+
* timeline. That is correct behavior and a terrible experience when nothing
|
|
8130
|
+
* says so: the Play button reports success by doing nothing.
|
|
8131
|
+
*
|
|
8132
|
+
* This module reads the preserved text as *data* and decides two things: does
|
|
8133
|
+
* this document animate itself with a script, and is the animation expressed in
|
|
8134
|
+
* a payload the importer can convert. It never evaluates the content, which
|
|
8135
|
+
* keeps the guarantee stated in `planSvgScripts`.
|
|
8136
|
+
*/
|
|
8137
|
+
declare const SCRIPT_ANIMATION_GENERATORS: readonly ["svgator", "gsap", "anime", "lottie", "vivus", "snap", "unknown"];
|
|
8138
|
+
type ScriptAnimationGenerator = (typeof SCRIPT_ANIMATION_GENERATORS)[number];
|
|
8139
|
+
/** The minimum a caller must supply per script; decoupled from `SvgPlannedScript`. */
|
|
8140
|
+
interface ScriptAnimationCandidateScript {
|
|
8141
|
+
/** Inline body text. Empty for external scripts. */
|
|
8142
|
+
readonly content: string;
|
|
8143
|
+
/** Resolved URL for external scripts. */
|
|
8144
|
+
readonly href?: string;
|
|
8145
|
+
}
|
|
8146
|
+
interface ScriptAnimationSource {
|
|
8147
|
+
/** Which animation runtime the evidence points at. */
|
|
8148
|
+
readonly generator: ScriptAnimationGenerator;
|
|
8149
|
+
/** Index in the supplied roster of the script that carried the evidence. */
|
|
8150
|
+
readonly scriptIndex: number;
|
|
8151
|
+
/**
|
|
8152
|
+
* Whether a structured keyframe payload was found alongside the runtime.
|
|
8153
|
+
* A recognized generator is not automatically a convertible one: only
|
|
8154
|
+
* SVGator embeds its whole keyframe model as data in the export.
|
|
8155
|
+
*/
|
|
8156
|
+
readonly convertible: boolean;
|
|
8157
|
+
/** Generator-reported format version, when the payload carries one. */
|
|
8158
|
+
readonly version?: string;
|
|
8159
|
+
}
|
|
8160
|
+
/**
|
|
8161
|
+
* Classify the animation runtime behind a document's scripts.
|
|
8162
|
+
*
|
|
8163
|
+
* Returns `null` when no script shows any sign of animating the document.
|
|
8164
|
+
* A returned `generator` of `'unknown'` means "a script animates this and we
|
|
8165
|
+
* cannot name the library", which is still worth telling the user.
|
|
8166
|
+
*/
|
|
8167
|
+
declare function recognizeScriptAnimation(scripts: readonly ScriptAnimationCandidateScript[], rootAttributes?: Readonly<Record<string, string>>): ScriptAnimationSource | null;
|
|
8168
|
+
|
|
8029
8169
|
type SvgScriptScope = 'document' | 'element';
|
|
8030
8170
|
interface SvgPlannedScript {
|
|
8031
8171
|
readonly id: string;
|
|
@@ -8049,6 +8189,11 @@ interface SvgScriptPlan {
|
|
|
8049
8189
|
readonly candidates: readonly SvgScriptCandidate[];
|
|
8050
8190
|
readonly documentScripts: readonly SvgScriptCandidate[];
|
|
8051
8191
|
readonly elementScripts: readonly SvgScriptCandidate[];
|
|
8192
|
+
/**
|
|
8193
|
+
* Which animation runtime, if any, the preserved scripts drive. Null when no
|
|
8194
|
+
* script shows any sign of animating the document.
|
|
8195
|
+
*/
|
|
8196
|
+
readonly animationSource: ScriptAnimationSource | null;
|
|
8052
8197
|
candidate(sourceNodeId: string): SvgScriptCandidate | null;
|
|
8053
8198
|
forParent(parentSourceNodeId: string): readonly SvgScriptCandidate[];
|
|
8054
8199
|
}
|
|
@@ -8063,7 +8208,7 @@ interface PlanSvgScriptsOptions {
|
|
|
8063
8208
|
* presence priority over the SVG 1.1 xlink:href spelling, and defaults type to
|
|
8064
8209
|
* application/ecmascript. The plan never evaluates script content.
|
|
8065
8210
|
*/
|
|
8066
|
-
declare function planSvgScripts(document: SvgSourceDocument,
|
|
8211
|
+
declare function planSvgScripts(document: SvgSourceDocument, options: PlanSvgScriptsOptions): IngestResult<SvgScriptPlan>;
|
|
8067
8212
|
|
|
8068
8213
|
/** Convert source-tree nodes into editable structured XML model values. */
|
|
8069
8214
|
declare function projectSvgSourceNodes(nodes: readonly SvgSourceNode[], identifiers?: SvgSourceIdentifierPlan): readonly DocumentExtensionNode[];
|
|
@@ -8145,6 +8290,65 @@ declare function preserveAspectRatioAlignFactor(align: PreserveAspectRatioAlign,
|
|
|
8145
8290
|
* rendering, and import cannot accidentally assign them the same meaning.
|
|
8146
8291
|
*/
|
|
8147
8292
|
declare function resolveSvgViewport(source: SvgViewportFrame, parentViewport?: SvgViewportSize): ResolvedSvgViewport;
|
|
8293
|
+
/** An axis-aligned rectangle in one coordinate system. */
|
|
8294
|
+
interface SvgFramingRect {
|
|
8295
|
+
x: number;
|
|
8296
|
+
y: number;
|
|
8297
|
+
width: number;
|
|
8298
|
+
height: number;
|
|
8299
|
+
}
|
|
8300
|
+
/**
|
|
8301
|
+
* Every rectangle the outermost `<svg>` has, resolved once.
|
|
8302
|
+
*
|
|
8303
|
+
* The document root has two rectangles that are routinely confused, and the
|
|
8304
|
+
* confusion is not cosmetic: authored framing and rasterized region differ
|
|
8305
|
+
* whenever `width`/`height` and `viewBox` disagree in aspect. Naming them
|
|
8306
|
+
* separately here is what stops a consumer picking whichever field happened
|
|
8307
|
+
* to be non-zero.
|
|
8308
|
+
*/
|
|
8309
|
+
interface RootViewportFraming {
|
|
8310
|
+
/** The raw SVG 2 section 8.9 resolution these projections are taken from. */
|
|
8311
|
+
resolved: ResolvedSvgViewport;
|
|
8312
|
+
/**
|
|
8313
|
+
* Authored user-space framing: the `viewBox` rect, or `0 0 width height`
|
|
8314
|
+
* when no viewBox is authored (SVG 2 section 8.2 implicit viewBox). This is
|
|
8315
|
+
* the coordinate window content is authored in, so it owns selection
|
|
8316
|
+
* handles, the editor camera, and the exported `viewBox` string.
|
|
8317
|
+
*/
|
|
8318
|
+
viewBoxRect: SvgFramingRect;
|
|
8319
|
+
/**
|
|
8320
|
+
* Intrinsic output size in px - the `width`/`height` the author declared.
|
|
8321
|
+
* This is the number a user typing into `width` expects to see reported.
|
|
8322
|
+
*/
|
|
8323
|
+
viewportSize: SvgViewportSize;
|
|
8324
|
+
/**
|
|
8325
|
+
* The viewport rectangle expressed in viewBox user space: the region that
|
|
8326
|
+
* actually rasterizes once the viewBox is fitted per SVG 2 section 8.9.
|
|
8327
|
+
* Equal to `viewBoxRect` whenever the fit is the identity, which covers
|
|
8328
|
+
* every document whose width/height match its viewBox extent.
|
|
8329
|
+
*/
|
|
8330
|
+
viewportRectInUserSpace: SvgFramingRect;
|
|
8331
|
+
/**
|
|
8332
|
+
* Basis a descendant's percentage length resolves against per SVG 2
|
|
8333
|
+
* section 7.10 - the viewBox extent when a viewBox is in force, never the
|
|
8334
|
+
* px viewport size.
|
|
8335
|
+
*/
|
|
8336
|
+
percentBasis: SvgViewportSize;
|
|
8337
|
+
}
|
|
8338
|
+
/**
|
|
8339
|
+
* Resolve the outermost `<svg>`'s framing.
|
|
8340
|
+
*
|
|
8341
|
+
* `x` and `y` are forced to zero: SVG 2 section 5.1.4 paragraph 3 says they
|
|
8342
|
+
* have no effect on an outermost svg. They remain representable in document
|
|
8343
|
+
* state for round-trip, but they must never reach a rectangle.
|
|
8344
|
+
*
|
|
8345
|
+
* An absent `width` or `height` is `auto`, i.e. 100% of the parent viewport
|
|
8346
|
+
* (SVG 2 sections 5.1.4 and 8.9). An outermost svg has no parent viewport, so
|
|
8347
|
+
* its own viewBox extent stands in as the basis. That makes the fit the
|
|
8348
|
+
* identity and collapses `viewportRectInUserSpace` onto `viewBoxRect`, which
|
|
8349
|
+
* is the correct answer for a document that never declared an output size.
|
|
8350
|
+
*/
|
|
8351
|
+
declare function resolveRootViewportFraming(source: SvgViewportFrame): RootViewportFraming;
|
|
8148
8352
|
|
|
8149
8353
|
type SvgSymbolDefinitionKind = 'symbol' | 'group' | 'shape';
|
|
8150
8354
|
type SvgSymbolUseStatus = 'symbol-instance' | 'linked-reference' | 'flattened' | Exclude<SvgUseResolutionStatus, 'resolved'>;
|
|
@@ -8298,6 +8502,8 @@ interface PlanSvgImportOptions {
|
|
|
8298
8502
|
readonly rootFontSize?: number;
|
|
8299
8503
|
readonly maxUseDepth?: number;
|
|
8300
8504
|
readonly maxUseOccurrences?: number;
|
|
8505
|
+
/** Editor-only structure keyed by authored id; see ingest/plan-decoration.ts. */
|
|
8506
|
+
readonly nodeDecorations?: IngestNodeDecorations;
|
|
8301
8507
|
}
|
|
8302
8508
|
/**
|
|
8303
8509
|
* Deterministic CSS environment for platform-neutral SVG import.
|
|
@@ -8371,7 +8577,7 @@ declare function projectSvgAnimationPlan(animations: SvgAnimationPlan, styles: S
|
|
|
8371
8577
|
/** Project the animation and style facets of one complete SVG import plan. */
|
|
8372
8578
|
declare function projectSvgAnimationTimeline(plan: SvgImportPlan, host: SvgAnimationTimelineProjectionHost): SerializedAnimationTimeline | null;
|
|
8373
8579
|
|
|
8374
|
-
declare const INGEST_FEATURES: readonly ["geometry", "containers", "source-order", "hierarchy", "root-viewport-frame", "common-presentation", "conditional-processing", "authored-attributes", "gradients", "patterns", "filters", "paint-server-definitions", "markers", "symbols", "use-and-linked-references", "clip-definitions", "mask-definitions", "clip-mask-membership", "smil-animation", "css-animation", "metadata", "scripts", "styles", "custom-properties", "views", "embedded-svg", "fonts", "external-assets"];
|
|
8580
|
+
declare const INGEST_FEATURES: readonly ["geometry", "containers", "source-order", "hierarchy", "root-viewport-frame", "common-presentation", "conditional-processing", "authored-attributes", "gradients", "patterns", "filters", "paint-server-definitions", "markers", "symbols", "use-and-linked-references", "clip-definitions", "mask-definitions", "clip-mask-membership", "smil-animation", "css-animation", "metadata", "scripts", "styles", "custom-properties", "views", "embedded-svg", "fonts", "external-assets", "foreign-structure"];
|
|
8375
8581
|
type IngestFeature = (typeof INGEST_FEATURES)[number];
|
|
8376
8582
|
type IngestFeatureStatus = 'supported' | 'diagnosed-lossy' | 'diagnosed-unsupported' | 'exempt';
|
|
8377
8583
|
type IngestFeatureCapability = {
|
|
@@ -8416,6 +8622,18 @@ declare const INGEST_FEATURE_CAPABILITIES: {
|
|
|
8416
8622
|
readonly 'embedded-svg': IngestFeatureIntentMatrix;
|
|
8417
8623
|
readonly fonts: IngestFeatureIntentMatrix;
|
|
8418
8624
|
readonly 'external-assets': IngestFeatureIntentMatrix;
|
|
8625
|
+
readonly 'foreign-structure': {
|
|
8626
|
+
readonly 'native-document-open': IngestFeatureCapability;
|
|
8627
|
+
readonly 'full-snapshot-restore': IngestFeatureCapability;
|
|
8628
|
+
readonly 'svg-document-import': IngestFeatureCapability;
|
|
8629
|
+
readonly 'external-svg-paste': IngestFeatureCapability;
|
|
8630
|
+
readonly 'internal-clipboard-paste': IngestFeatureCapability;
|
|
8631
|
+
readonly 'plugin-svg-fragment': IngestFeatureCapability;
|
|
8632
|
+
readonly 'pattern-fragment': IngestFeatureCapability;
|
|
8633
|
+
readonly 'vectorized-svg-fragment': IngestFeatureCapability;
|
|
8634
|
+
readonly 'illustrator-document-import': IngestFeatureCapability;
|
|
8635
|
+
readonly 'pdf-document-import': IngestFeatureCapability;
|
|
8636
|
+
};
|
|
8419
8637
|
};
|
|
8420
8638
|
type RegistryGate$2<T extends never> = T;
|
|
8421
8639
|
type MissingIntentCells$1 = {
|
|
@@ -8555,6 +8773,7 @@ declare const SVG_IMPORT_CAPABILITY_OWNERS: {
|
|
|
8555
8773
|
readonly 'embedded-svg': SvgImportCapabilityOwner;
|
|
8556
8774
|
readonly fonts: SvgImportCapabilityOwner;
|
|
8557
8775
|
readonly 'external-assets': SvgImportCapabilityOwner;
|
|
8776
|
+
readonly 'foreign-structure': SvgImportCapabilityOwner;
|
|
8558
8777
|
};
|
|
8559
8778
|
type SvgImportCapabilityOwnershipGates = Exclude<IngestFeature, keyof typeof SVG_IMPORT_CAPABILITY_OWNERS> extends never ? Exclude<keyof typeof SVG_IMPORT_CAPABILITY_OWNERS, IngestFeature> extends never ? true : never : never;
|
|
8560
8779
|
declare function assertSvgImportCapabilityOwners(features?: readonly IngestFeature[], owners?: Readonly<Record<string, {
|
|
@@ -8573,6 +8792,96 @@ declare const SVG_PRESENTATION_PROPERTIES: readonly string[];
|
|
|
8573
8792
|
declare function getSvgPropertySemantics(name: string): SvgPropertySemantics | null;
|
|
8574
8793
|
declare function isSvgPresentationProperty(name: string): boolean;
|
|
8575
8794
|
|
|
8795
|
+
/**
|
|
8796
|
+
* Project an SVGator JavaScript export's keyframe payload into native tracks.
|
|
8797
|
+
*
|
|
8798
|
+
* SVGator's JS export embeds its entire keyframe model as a JSON object literal
|
|
8799
|
+
* in the arguments to the loader it injects, next to a CDN URL for the player.
|
|
8800
|
+
* The animation is therefore fully present in the file as *data*: the reason it
|
|
8801
|
+
* does not play in the editor is only that nothing runs the player. Reading
|
|
8802
|
+
* that data back is ordinary interop, and it is what lets an imported SVGator
|
|
8803
|
+
* document keep its animation instead of arriving as static artwork.
|
|
8804
|
+
*
|
|
8805
|
+
* Semantics below were verified against a real export rather than assumed.
|
|
8806
|
+
* See the 4.55.0 changelog entry for the identities that pin them.
|
|
8807
|
+
*
|
|
8808
|
+
* Nothing here evaluates the script. The payload is located by brace matching
|
|
8809
|
+
* and read with `JSON.parse`.
|
|
8810
|
+
*/
|
|
8811
|
+
|
|
8812
|
+
/** One raw keyframe as SVGator writes it. */
|
|
8813
|
+
interface SvgatorKey {
|
|
8814
|
+
/** Time in milliseconds. */
|
|
8815
|
+
readonly t: number;
|
|
8816
|
+
readonly v: unknown;
|
|
8817
|
+
/**
|
|
8818
|
+
* Cubic-bezier control points for the segment leading *out* of this key.
|
|
8819
|
+
* SVGSketch stores easing on the keyframe it leads *into*, so the array
|
|
8820
|
+
* shifts by one during projection.
|
|
8821
|
+
*/
|
|
8822
|
+
readonly e?: readonly number[];
|
|
8823
|
+
}
|
|
8824
|
+
interface SvgatorTransform {
|
|
8825
|
+
readonly data?: {
|
|
8826
|
+
readonly o?: {
|
|
8827
|
+
readonly x: number;
|
|
8828
|
+
readonly y: number;
|
|
8829
|
+
};
|
|
8830
|
+
readonly t?: {
|
|
8831
|
+
readonly x: number;
|
|
8832
|
+
readonly y: number;
|
|
8833
|
+
};
|
|
8834
|
+
readonly s?: {
|
|
8835
|
+
readonly x: number;
|
|
8836
|
+
readonly y: number;
|
|
8837
|
+
};
|
|
8838
|
+
};
|
|
8839
|
+
readonly keys?: Readonly<Record<string, readonly SvgatorKey[]>>;
|
|
8840
|
+
}
|
|
8841
|
+
interface SvgatorElement {
|
|
8842
|
+
readonly transform?: SvgatorTransform;
|
|
8843
|
+
readonly [channel: string]: unknown;
|
|
8844
|
+
}
|
|
8845
|
+
interface SvgatorPayload {
|
|
8846
|
+
readonly root: string;
|
|
8847
|
+
readonly version?: string;
|
|
8848
|
+
readonly animations: readonly {
|
|
8849
|
+
readonly elements?: Readonly<Record<string, SvgatorElement>>;
|
|
8850
|
+
}[];
|
|
8851
|
+
}
|
|
8852
|
+
interface SvgatorProjectionHost {
|
|
8853
|
+
/** Resolve an authored SVG element id to its canonical shape id. */
|
|
8854
|
+
shapeIdForElementId(elementId: string): string | null;
|
|
8855
|
+
}
|
|
8856
|
+
interface SvgatorProjectionResult {
|
|
8857
|
+
readonly timeline: SerializedAnimationTimeline;
|
|
8858
|
+
/** Payload channels no track was produced for, as `element.channel`. */
|
|
8859
|
+
readonly skippedChannels: readonly string[];
|
|
8860
|
+
/** Payload element ids that matched no shape in the document. */
|
|
8861
|
+
readonly unresolvedElementIds: readonly string[];
|
|
8862
|
+
}
|
|
8863
|
+
/**
|
|
8864
|
+
* Parse the payload out of one script's text.
|
|
8865
|
+
*
|
|
8866
|
+
* Validation is structural rather than a version allowlist. SVGator stamps a
|
|
8867
|
+
* release date into `version`, and pinning known dates would refuse files whose
|
|
8868
|
+
* payload we understand perfectly, which is the exact rot a converter must not
|
|
8869
|
+
* have. The shape of the data is what decides whether it can be read, and
|
|
8870
|
+
* unrecognized channels are reported instead of failing the whole document.
|
|
8871
|
+
*/
|
|
8872
|
+
declare function parseSvgatorPayload(scriptContent: string): SvgatorPayload | null;
|
|
8873
|
+
/**
|
|
8874
|
+
* Project a parsed payload into a native timeline.
|
|
8875
|
+
*
|
|
8876
|
+
* Conversion is per channel, not per document: a payload holding one channel
|
|
8877
|
+
* this does not model still yields tracks for every channel it does, and the
|
|
8878
|
+
* unconverted ones are named in `skippedChannels` so the caller can say what
|
|
8879
|
+
* did not come across rather than silently dropping it.
|
|
8880
|
+
*
|
|
8881
|
+
* Returns `null` only when nothing at all converted.
|
|
8882
|
+
*/
|
|
8883
|
+
declare function projectSvgatorAnimation(payload: SvgatorPayload, host: SvgatorProjectionHost): SvgatorProjectionResult | null;
|
|
8884
|
+
|
|
8576
8885
|
/** Project one complete immutable SVG import plan into the native document model. */
|
|
8577
8886
|
declare function projectSvgImportToSnapshot(plan: SvgImportPlan, options?: Pick<PlanSvgImportOptions, 'entrypoint'>): IngestResult<HistorySnapshot | null>;
|
|
8578
8887
|
/**
|
|
@@ -8602,6 +8911,110 @@ declare function importSvg(source: string, options?: PlanSvgImportOptions): Hist
|
|
|
8602
8911
|
*/
|
|
8603
8912
|
declare function inferSvgCoordinatePrecision(document: SvgSourceDocument): number;
|
|
8604
8913
|
|
|
8914
|
+
declare const DOCUMENT_BYTE_KINDS: readonly ["svgs", "svg", "pdf", "postscript", "png", "jpeg", "gif", "webp", "unknown"];
|
|
8915
|
+
type DocumentByteKind = (typeof DOCUMENT_BYTE_KINDS)[number];
|
|
8916
|
+
/** Kinds that open as a document rather than as a placed raster. */
|
|
8917
|
+
declare const DOCUMENT_IMPORT_KINDS: readonly DocumentByteKind[];
|
|
8918
|
+
/** Magic-byte classification of the first bytes of a document. 64 KB is enough for every rule. */
|
|
8919
|
+
declare function sniffDocumentBytes(bytes: Uint8Array): DocumentByteKind;
|
|
8920
|
+
|
|
8921
|
+
/**
|
|
8922
|
+
* The report a foreign-format import (Illustrator, PDF) hands to the user.
|
|
8923
|
+
*
|
|
8924
|
+
* Producers (the transcoder packages) speak their own closed diagnostic
|
|
8925
|
+
* vocabularies; core's ingest speaks `IngestDiagnosticCode`. This envelope
|
|
8926
|
+
* merges both into four buckets a reader can act on, and the same JSON is
|
|
8927
|
+
* what the CLI writes with `--report` and what the editor modal renders.
|
|
8928
|
+
*/
|
|
8929
|
+
|
|
8930
|
+
type ForeignImportBucket = 'preserved' | 'approximated' | 'rasterized' | 'dropped';
|
|
8931
|
+
type ForeignImportVocabulary = 'pdf' | 'illustrator' | 'ingest';
|
|
8932
|
+
interface ForeignImportReportItem {
|
|
8933
|
+
readonly bucket: ForeignImportBucket;
|
|
8934
|
+
readonly vocabulary: ForeignImportVocabulary;
|
|
8935
|
+
/** A code from the vocabulary's closed tuple. */
|
|
8936
|
+
readonly code: string;
|
|
8937
|
+
/** A layer, object, swatch, font or file name; never document content. */
|
|
8938
|
+
readonly subject?: string;
|
|
8939
|
+
/** Identical (vocabulary, code, subject) entries are collapsed into one count. */
|
|
8940
|
+
readonly count: number;
|
|
8941
|
+
/** English sentence from the producer; the editor localizes by code. */
|
|
8942
|
+
readonly message: string;
|
|
8943
|
+
}
|
|
8944
|
+
interface ForeignImportFontRequirement {
|
|
8945
|
+
readonly family: string;
|
|
8946
|
+
readonly style?: string;
|
|
8947
|
+
readonly weight?: number;
|
|
8948
|
+
/** A font program was embedded in the file (not reusable as a web font). */
|
|
8949
|
+
readonly embedded: boolean;
|
|
8950
|
+
readonly status: 'unresolved' | 'available' | 'missing' | 'outlined';
|
|
8951
|
+
/** Exact Google Fonts catalog family when one exists. */
|
|
8952
|
+
readonly googleFamily?: string;
|
|
8953
|
+
readonly glyphs?: number;
|
|
8954
|
+
}
|
|
8955
|
+
type ForeignImportContainer = 'pdf-compatible' | 'pdf-private-only' | 'postscript-legacy' | 'postscript-eps' | 'pdf-foreign';
|
|
8956
|
+
interface ForeignImportReport {
|
|
8957
|
+
readonly version: 1;
|
|
8958
|
+
readonly source: {
|
|
8959
|
+
readonly kind: 'illustrator' | 'pdf';
|
|
8960
|
+
readonly container: ForeignImportContainer;
|
|
8961
|
+
readonly fileName?: string;
|
|
8962
|
+
readonly byteLength: number;
|
|
8963
|
+
readonly producer?: string;
|
|
8964
|
+
readonly creatorVersion?: string;
|
|
8965
|
+
};
|
|
8966
|
+
readonly artboards: readonly {
|
|
8967
|
+
readonly index: number;
|
|
8968
|
+
readonly name: string;
|
|
8969
|
+
readonly width: number;
|
|
8970
|
+
readonly height: number;
|
|
8971
|
+
readonly imported: boolean;
|
|
8972
|
+
}[];
|
|
8973
|
+
readonly colorMode?: {
|
|
8974
|
+
readonly source: 'CMYK' | 'RGB' | 'Grayscale' | 'mixed' | 'unknown';
|
|
8975
|
+
readonly converted: boolean;
|
|
8976
|
+
readonly method?: 'icc' | 'device';
|
|
8977
|
+
};
|
|
8978
|
+
readonly textMode: 'editable' | 'outlines';
|
|
8979
|
+
readonly counts: {
|
|
8980
|
+
readonly shapes: number;
|
|
8981
|
+
readonly groups: number;
|
|
8982
|
+
readonly layers: number;
|
|
8983
|
+
readonly hiddenLayers: number;
|
|
8984
|
+
readonly lockedLayers: number;
|
|
8985
|
+
readonly textEditable: number;
|
|
8986
|
+
readonly textOutlined: number;
|
|
8987
|
+
readonly imagesEmbedded: number;
|
|
8988
|
+
readonly rasterizedRegions: number;
|
|
8989
|
+
};
|
|
8990
|
+
readonly items: readonly ForeignImportReportItem[];
|
|
8991
|
+
readonly fonts: readonly ForeignImportFontRequirement[];
|
|
8992
|
+
readonly ingestDiagnostics: readonly IngestDiagnostic[];
|
|
8993
|
+
readonly timings: {
|
|
8994
|
+
readonly parseMs: number;
|
|
8995
|
+
readonly transcodeMs: number;
|
|
8996
|
+
readonly ingestMs: number;
|
|
8997
|
+
};
|
|
8998
|
+
/** Producer-specific detail, carried verbatim into the JSON report. */
|
|
8999
|
+
readonly details?: unknown;
|
|
9000
|
+
}
|
|
9001
|
+
/** Bucket for an ingest diagnostic; shared by the editor and the CLI. */
|
|
9002
|
+
declare function classifyIngestDiagnostic(code: IngestDiagnosticCode): ForeignImportBucket;
|
|
9003
|
+
interface BuildForeignImportReportInput {
|
|
9004
|
+
readonly source: ForeignImportReport['source'];
|
|
9005
|
+
readonly artboards: ForeignImportReport['artboards'];
|
|
9006
|
+
readonly colorMode?: ForeignImportReport['colorMode'];
|
|
9007
|
+
readonly textMode: ForeignImportReport['textMode'];
|
|
9008
|
+
readonly counts: ForeignImportReport['counts'];
|
|
9009
|
+
readonly items: readonly ForeignImportReportItem[];
|
|
9010
|
+
readonly fonts: readonly ForeignImportFontRequirement[];
|
|
9011
|
+
readonly ingestDiagnostics: readonly IngestDiagnostic[];
|
|
9012
|
+
readonly timings: ForeignImportReport['timings'];
|
|
9013
|
+
readonly details?: unknown;
|
|
9014
|
+
}
|
|
9015
|
+
/** Merge producer items with ingest diagnostics, collapse duplicates, and order bucket-major. */
|
|
9016
|
+
declare function buildForeignImportReport(input: BuildForeignImportReportInput): ForeignImportReport;
|
|
9017
|
+
|
|
8605
9018
|
type IngestFieldPolicyAction = 'replace' | 'merge' | 'append' | 'preserve-host' | 'derived' | 'exempt';
|
|
8606
9019
|
type IngestFieldPolicy = {
|
|
8607
9020
|
readonly action: Exclude<IngestFieldPolicyAction, 'exempt'>;
|
|
@@ -10895,6 +11308,175 @@ declare function scanCssFunctionTokens(value: string): readonly CssFunctionToken
|
|
|
10895
11308
|
*/
|
|
10896
11309
|
declare function scanCssLocalUrlTokens(value: string): readonly CssLocalUrlToken[];
|
|
10897
11310
|
|
|
11311
|
+
/**
|
|
11312
|
+
* The vocabulary of font *faces* - family plus weight plus style - shared by
|
|
11313
|
+
* every part of the pipeline that has to name a face rather than a family.
|
|
11314
|
+
*
|
|
11315
|
+
* Three scanners used to answer "which fonts does this document use" and each
|
|
11316
|
+
* carried its own generic-family list, its own list-splitting, and its own idea
|
|
11317
|
+
* of whether a weight existed at all. None of them could name a face: they
|
|
11318
|
+
* returned family names, so the only thing an embedder could ask a font
|
|
11319
|
+
* provider for was a family, and the weight the user actually chose never
|
|
11320
|
+
* reached the request. That is why an export embedded a fixed 400/700 matrix
|
|
11321
|
+
* regardless of the document.
|
|
11322
|
+
*
|
|
11323
|
+
* This module is the one place those questions are answered. It is
|
|
11324
|
+
* platform-free like the rest of core - no DOM, no fetch.
|
|
11325
|
+
*/
|
|
11326
|
+
/**
|
|
11327
|
+
* The CSS generic family keywords (CSS Fonts 4 section 2.2).
|
|
11328
|
+
*
|
|
11329
|
+
* A generic always resolves, but the *browser* picks which font backs it and
|
|
11330
|
+
* never says which, so a generic can never be embedded or outlined. Every
|
|
11331
|
+
* scanner has to exclude these, and before this constant existed each did so
|
|
11332
|
+
* from its own divergent copy: core's finalizer knew 10 of them and none of
|
|
11333
|
+
* `math` / `emoji` / `fangsong`, while the ingest planner and the editor's
|
|
11334
|
+
* availability probe knew all 13.
|
|
11335
|
+
*/
|
|
11336
|
+
declare const CSS_GENERIC_FAMILY_NAMES: ReadonlySet<string>;
|
|
11337
|
+
/** True when `name` is a CSS generic family keyword rather than a real family. */
|
|
11338
|
+
declare function isCssGenericFamilyName(name: string): boolean;
|
|
11339
|
+
/**
|
|
11340
|
+
* True when `name` can never identify an embeddable face - a generic, a
|
|
11341
|
+
* CSS-wide keyword, or nothing at all.
|
|
11342
|
+
*/
|
|
11343
|
+
declare function isUnembeddableFamilyName(name: string): boolean;
|
|
11344
|
+
/**
|
|
11345
|
+
* Split a CSS `font-family` value into its candidate families, in order.
|
|
11346
|
+
*
|
|
11347
|
+
* Quoted names keep their spaces and commas; escapes inside them are honoured.
|
|
11348
|
+
* Per CSS Fonts 4 section 2.2 an unquoted name is a sequence of identifiers, so
|
|
11349
|
+
* internal whitespace is preserved and only the commas separate.
|
|
11350
|
+
*/
|
|
11351
|
+
declare function parseFontFamilyList(value: string): string[];
|
|
11352
|
+
/**
|
|
11353
|
+
* Render a `font-family` value that is safe to interpolate into CSS - notably
|
|
11354
|
+
* into the `font` shorthand a canvas 2D context parses.
|
|
11355
|
+
*
|
|
11356
|
+
* An invalid shorthand makes `ctx.font = ...` a silent no-op, leaving the
|
|
11357
|
+
* previous font in force, so an unquotable family name did not merely measure
|
|
11358
|
+
* imprecisely - it measured *the font before it*, and text laid out at the
|
|
11359
|
+
* wrong width with no error anywhere.
|
|
11360
|
+
*
|
|
11361
|
+
* Generics are deliberately left bare: quoting `sans-serif` turns the generic
|
|
11362
|
+
* into a request for a family literally named "sans-serif", which no machine
|
|
11363
|
+
* has.
|
|
11364
|
+
*/
|
|
11365
|
+
declare function formatCssFontFamilyList(value: string): string;
|
|
11366
|
+
/**
|
|
11367
|
+
* True when every candidate in a `font-family` list is a generic or a CSS-wide
|
|
11368
|
+
* keyword, so nothing in it could ever be embedded.
|
|
11369
|
+
*
|
|
11370
|
+
* A list is kept when *any* entry names a real family: `"Nonexistent", Bravura,
|
|
11371
|
+
* sans-serif` still embeds Bravura, and dropping the whole list because its
|
|
11372
|
+
* first entry is unresolvable is the bug this predicate exists to avoid.
|
|
11373
|
+
*/
|
|
11374
|
+
declare function isEntirelyUnembeddableFamilyList(value: string): boolean;
|
|
11375
|
+
/** A single concrete face an output needs in order to render its text. */
|
|
11376
|
+
interface FontFaceRequest {
|
|
11377
|
+
/**
|
|
11378
|
+
* The authored `font-family` value, list and all.
|
|
11379
|
+
*
|
|
11380
|
+
* The list is kept rather than reduced to its first entry because only the
|
|
11381
|
+
* resolver knows which candidate a machine can actually produce bytes for.
|
|
11382
|
+
* Handing it the primary name alone is what made a document whose first
|
|
11383
|
+
* family is unresolvable embed nothing, even with a resolvable family
|
|
11384
|
+
* sitting second.
|
|
11385
|
+
*/
|
|
11386
|
+
readonly family: string;
|
|
11387
|
+
/** Computed numeric weight, 1-1000 (CSS Fonts 4 section 2.5). */
|
|
11388
|
+
readonly weight: number;
|
|
11389
|
+
/** `oblique` is normalized to `italic`: `@font-face` selection has one axis. */
|
|
11390
|
+
readonly style: 'normal' | 'italic';
|
|
11391
|
+
}
|
|
11392
|
+
/** The initial `font-weight`, and the value assumed when none is authored. */
|
|
11393
|
+
declare const DEFAULT_FONT_WEIGHT = 400;
|
|
11394
|
+
/**
|
|
11395
|
+
* Resolve a `font-weight` value against the inherited weight.
|
|
11396
|
+
*
|
|
11397
|
+
* `bolder` / `lighter` are relative to the parent per the CSS Fonts 4
|
|
11398
|
+
* bolder/lighter table (section 2.5); everything else is absolute.
|
|
11399
|
+
*/
|
|
11400
|
+
declare function resolveFontWeight(value: string | undefined, inherited?: number): number;
|
|
11401
|
+
/** Normalize a `font-style` value to the one axis `@font-face` selects on. */
|
|
11402
|
+
declare function resolveFontStyle(value: string | undefined): 'normal' | 'italic';
|
|
11403
|
+
/** Stable identity for a face, for deduplication and cache keys. */
|
|
11404
|
+
declare function fontFaceKey(face: FontFaceRequest): string;
|
|
11405
|
+
/** Deduplicate faces, preserving first-seen order. */
|
|
11406
|
+
declare function dedupeFontFaces(faces: readonly FontFaceRequest[]): FontFaceRequest[];
|
|
11407
|
+
|
|
11408
|
+
/**
|
|
11409
|
+
* Which fonts can actually render a given piece of text.
|
|
11410
|
+
*
|
|
11411
|
+
* CSS font matching falls back per glyph: name a family that has no glyph for a
|
|
11412
|
+
* character and the browser silently substitutes one that does. That is correct
|
|
11413
|
+
* behaviour and it is invisible, so an editor whose font list cannot serve the
|
|
11414
|
+
* user's script does not fail - it just stops responding to the font picker.
|
|
11415
|
+
* Every family renders identically, because every family is being substituted
|
|
11416
|
+
* by the same system fallback. This module exists so the editor can tell the
|
|
11417
|
+
* difference between "you picked a different font" and "you picked a font that
|
|
11418
|
+
* cannot draw your text".
|
|
11419
|
+
*
|
|
11420
|
+
* Coverage is keyed on Google Fonts' own subset names, because that is the only
|
|
11421
|
+
* per-family coverage data that exists for the catalog the picker offers. The
|
|
11422
|
+
* names are theirs, not Unicode's: `japanese`, `chinese-simplified`,
|
|
11423
|
+
* `latin-ext` and so on.
|
|
11424
|
+
*
|
|
11425
|
+
* The model is deliberately asymmetric. A false "this font cannot render your
|
|
11426
|
+
* text" is far worse than a shrug - it would push someone off a font that works
|
|
11427
|
+
* - so anything this table does not know about imposes no constraint at all,
|
|
11428
|
+
* and a family with no subset data is reported `unknown` rather than `uncovered`.
|
|
11429
|
+
*/
|
|
11430
|
+
/**
|
|
11431
|
+
* The subsets that could supply `codePoint`, or `null` when nothing constrains
|
|
11432
|
+
* it.
|
|
11433
|
+
*
|
|
11434
|
+
* ASCII is unconstrained: every font in the catalog has it, and treating it as
|
|
11435
|
+
* a requirement would let a stray comma mark an otherwise perfect font as
|
|
11436
|
+
* unusable. Anything outside the table is likewise unconstrained - unknown is
|
|
11437
|
+
* not the same as missing.
|
|
11438
|
+
*/
|
|
11439
|
+
declare function subsetsForCodePoint(codePoint: number): readonly string[] | null;
|
|
11440
|
+
/**
|
|
11441
|
+
* Every subset group `text` needs, one entry per distinct requirement.
|
|
11442
|
+
*
|
|
11443
|
+
* Iterates by code point, so an astral kanji is one requirement rather than two
|
|
11444
|
+
* halves of a surrogate pair.
|
|
11445
|
+
*/
|
|
11446
|
+
declare function requiredSubsetsForText(text: string): readonly (readonly string[])[];
|
|
11447
|
+
/** How well a family's coverage matches a string. */
|
|
11448
|
+
type FontCoverageStatus = 'covered' | 'uncovered' | 'unknown';
|
|
11449
|
+
interface FontCoverageResult {
|
|
11450
|
+
status: FontCoverageStatus;
|
|
11451
|
+
/** The distinct characters the family cannot draw, in first-seen order. */
|
|
11452
|
+
missing: string;
|
|
11453
|
+
}
|
|
11454
|
+
/**
|
|
11455
|
+
* Whether a family whose Google subsets are `familySubsets` can render `text`.
|
|
11456
|
+
*
|
|
11457
|
+
* `undefined` subsets mean the catalog has not been consulted for this family -
|
|
11458
|
+
* a local file, an uploaded face, or a Google family before the catalog
|
|
11459
|
+
* snapshot loads. That is `unknown`, never `uncovered`: the editor must not
|
|
11460
|
+
* warn someone off a font on the strength of data it does not have.
|
|
11461
|
+
*/
|
|
11462
|
+
declare function evaluateFontCoverage(familySubsets: readonly string[] | undefined, text: string): FontCoverageResult;
|
|
11463
|
+
/**
|
|
11464
|
+
* A preview sample for a family, given its subsets and the script the user is
|
|
11465
|
+
* writing in. Returns null when the family's own name is the better preview -
|
|
11466
|
+
* which is the Latin case, and the default.
|
|
11467
|
+
*/
|
|
11468
|
+
declare function sampleTextForSubsets(familySubsets: readonly string[] | undefined, preferredSubsets?: readonly string[]): string | null;
|
|
11469
|
+
/**
|
|
11470
|
+
* The subsets a piece of text would most like a font to have, most specific
|
|
11471
|
+
* first, for ranking and for choosing a preview sample.
|
|
11472
|
+
*
|
|
11473
|
+
* A requirement satisfied by several subsets (a Han character, say) contributes
|
|
11474
|
+
* all of them, in the order the table lists - which puts `japanese` ahead of
|
|
11475
|
+
* the Chinese subsets for kana-bearing text because the kana requirement is
|
|
11476
|
+
* unambiguous and comes first.
|
|
11477
|
+
*/
|
|
11478
|
+
declare function preferredSubsetsForText(text: string): readonly string[];
|
|
11479
|
+
|
|
10898
11480
|
interface AnimationCycleTrack {
|
|
10899
11481
|
readonly keyframes: readonly {
|
|
10900
11482
|
readonly time: number;
|
|
@@ -11542,6 +12124,31 @@ declare const NAMESPACE_VOCABULARIES: readonly NamespaceVocabulary[];
|
|
|
11542
12124
|
declare function namespaceVocabularies(): readonly NamespaceVocabulary[];
|
|
11543
12125
|
/** The vocabulary claiming `namespaceUri`, if any. */
|
|
11544
12126
|
declare function namespaceVocabulary(namespaceUri: string | null): NamespaceVocabulary | null;
|
|
12127
|
+
/** One authored attribute, with the namespace it was written in. */
|
|
12128
|
+
interface VocabularyAttributeSource {
|
|
12129
|
+
readonly namespaceUri: string | null;
|
|
12130
|
+
readonly localName: string;
|
|
12131
|
+
readonly value: string;
|
|
12132
|
+
}
|
|
12133
|
+
/** The vocabulary that claimed an element, and what the element becomes. */
|
|
12134
|
+
interface VocabularyClaim {
|
|
12135
|
+
readonly vocabulary: NamespaceVocabulary;
|
|
12136
|
+
readonly projection: VocabularyProjection;
|
|
12137
|
+
}
|
|
12138
|
+
/**
|
|
12139
|
+
* Offer one element's attributes to the vocabularies they belong to.
|
|
12140
|
+
*
|
|
12141
|
+
* Every consumer of the registry asks the same question - does a vocabulary
|
|
12142
|
+
* claim this element, and as what - and each used to gather the in-namespace
|
|
12143
|
+
* attributes for itself. One implementation means the leaf planner, the
|
|
12144
|
+
* metadata pass that stops carrying consumed attributes, and any tool that
|
|
12145
|
+
* predicts the canonical form of authored markup all get the same answer.
|
|
12146
|
+
*
|
|
12147
|
+
* Vocabularies are tried in the element's own attribute order and the first
|
|
12148
|
+
* that projects wins, so an element is claimed at most once. `null` means
|
|
12149
|
+
* every vocabulary declined and the element is preserved untouched.
|
|
12150
|
+
*/
|
|
12151
|
+
declare function claimElementThroughVocabulary(attributes: readonly VocabularyAttributeSource[]): VocabularyClaim | null;
|
|
11545
12152
|
/**
|
|
11546
12153
|
* Register a vocabulary for the lifetime of the returned disposer.
|
|
11547
12154
|
*
|
|
@@ -12356,7 +12963,22 @@ interface SplinePointInput {
|
|
|
12356
12963
|
/**
|
|
12357
12964
|
* Compute SVG path data from spline points.
|
|
12358
12965
|
*/
|
|
12359
|
-
|
|
12966
|
+
/**
|
|
12967
|
+
* How the serializer treats the shorthand path commands whose validity
|
|
12968
|
+
* depends on measured geometry (`H`/`V` for axis-aligned lines, `S`/`T`
|
|
12969
|
+
* for reflected control points).
|
|
12970
|
+
*
|
|
12971
|
+
* - `'preserve'` (default) — emit the shorthand whenever the geometry
|
|
12972
|
+
* satisfies it. This is what authored path data round-trips through.
|
|
12973
|
+
* - `'expand'` — always emit the long form (`L`, `C`, `Q`). Required
|
|
12974
|
+
* when serializing a sequence of `d` values that must interpolate:
|
|
12975
|
+
* SVG only animates between path values with identical command
|
|
12976
|
+
* structure (SVG 1.1 §19.2.15.3), and a vertex crossing into or out of
|
|
12977
|
+
* axis alignment silently changes which shorthand applies, which would
|
|
12978
|
+
* break the animation partway through.
|
|
12979
|
+
*/
|
|
12980
|
+
type PathShorthandPolicy = 'preserve' | 'expand';
|
|
12981
|
+
declare function computeSplinePath(points: readonly SplinePointInput[], curveType: string, closed?: boolean, tension?: number, arcParams?: readonly ArcParams[], shorthand?: PathShorthandPolicy): string;
|
|
12360
12982
|
/**
|
|
12361
12983
|
* Compute a dash-array string for a given line style.
|
|
12362
12984
|
*
|
|
@@ -12522,7 +13144,7 @@ declare function pathDataBounds(d: string, transform?: Affine2D): PathBoundsRect
|
|
|
12522
13144
|
*
|
|
12523
13145
|
* Returns `null` for an empty model.
|
|
12524
13146
|
*/
|
|
12525
|
-
declare function splinePathBounds(points: SplinePointInput[], curveType: string, closed?: boolean, tension?: number, arcParams?: ArcParams[], transform?: Affine2D): PathBoundsRect | null;
|
|
13147
|
+
declare function splinePathBounds(points: readonly SplinePointInput[], curveType: string, closed?: boolean, tension?: number, arcParams?: readonly ArcParams[], transform?: Affine2D): PathBoundsRect | null;
|
|
12526
13148
|
|
|
12527
13149
|
/**
|
|
12528
13150
|
* Target-neutral geometry registry for every built-in serialized shape.
|
|
@@ -12926,6 +13548,14 @@ interface ConnectorLabelAnchor {
|
|
|
12926
13548
|
* metrics come from `createSvgPathMetrics`), so the editor canvas and
|
|
12927
13549
|
* serialized render targets place the label identically.
|
|
12928
13550
|
*/
|
|
13551
|
+
/**
|
|
13552
|
+
* Default position of a connector label along its routed path, as a
|
|
13553
|
+
* fraction of arc length. Named so the editor's accessor and this renderer
|
|
13554
|
+
* cannot drift to different midpoints.
|
|
13555
|
+
*/
|
|
13556
|
+
declare const DEFAULT_CONNECTOR_LABEL_POSITION = 0.5;
|
|
13557
|
+
/** Default perpendicular offset of a connector label from its path, in px. */
|
|
13558
|
+
declare const DEFAULT_CONNECTOR_LABEL_OFFSET = 0;
|
|
12929
13559
|
declare function connectorLabelAnchor(d: string, labelPosition?: number, labelOffset?: number): ConnectorLabelAnchor | null;
|
|
12930
13560
|
|
|
12931
13561
|
/**
|
|
@@ -13512,9 +14142,10 @@ declare function motionPathD(shape: SerializedShape): string | null;
|
|
|
13512
14142
|
* 4. **Font embedding hook** — core is platform-free (`lib: ES2025`,
|
|
13513
14143
|
* no fetch/fs/Buffer), so binary font access must be injected:
|
|
13514
14144
|
* {@link RenderFinalizationOptions.resolveFontEmbedCss} receives
|
|
13515
|
-
* the distinct
|
|
13516
|
-
* `@font-face` CSS to prepend as a `<style>`
|
|
13517
|
-
* editor's `
|
|
14145
|
+
* the distinct *faces* referenced by the plan — family, weight and
|
|
14146
|
+
* style — and returns `@font-face` CSS to prepend as a `<style>`
|
|
14147
|
+
* block, mirroring the editor's `embedFontsInOutput`. Callers
|
|
14148
|
+
* (CLI, action, SDK) resolve
|
|
13518
14149
|
* binaries in their own environment and hand core the finished CSS.
|
|
13519
14150
|
* 5. **Namespace-declaration completion** — every namespace prefix the
|
|
13520
14151
|
* emitted markup uses (the authored `xlink:href` passthrough,
|
|
@@ -13568,14 +14199,21 @@ interface RenderFinalizationOptions {
|
|
|
13568
14199
|
*/
|
|
13569
14200
|
restoreSourceIds?: boolean;
|
|
13570
14201
|
/**
|
|
13571
|
-
* Injected font-embedding resolver: receives the distinct
|
|
13572
|
-
*
|
|
13573
|
-
*
|
|
13574
|
-
*
|
|
13575
|
-
*
|
|
13576
|
-
*
|
|
14202
|
+
* Injected font-embedding resolver: receives the distinct *faces*
|
|
14203
|
+
* referenced by the rendered plan — family list, computed weight and
|
|
14204
|
+
* computed style — and returns `@font-face` CSS to ship in a `<style>`
|
|
14205
|
+
* block, or undefined/empty to skip. Core cannot fetch font binaries
|
|
14206
|
+
* itself — it compiles platform-free — so the environment owns
|
|
14207
|
+
* resolution.
|
|
14208
|
+
*
|
|
14209
|
+
* This took `readonly string[]` of family names until core 4.0. A family
|
|
14210
|
+
* name cannot name a weight, so every embedder had to guess one, and the
|
|
14211
|
+
* editor's guess was a fixed 400/700 matrix that ignored the document:
|
|
14212
|
+
* text set at 300 or 900 exported with no face that matched it. Recover
|
|
14213
|
+
* the old argument with `faces.map((face) => face.family)` if a consumer
|
|
14214
|
+
* genuinely only needs families.
|
|
13577
14215
|
*/
|
|
13578
|
-
resolveFontEmbedCss?: (
|
|
14216
|
+
resolveFontEmbedCss?: (faces: readonly FontFaceRequest[]) => string | undefined;
|
|
13579
14217
|
/**
|
|
13580
14218
|
* Emit `data-shape-id` addressing attributes on rendered elements.
|
|
13581
14219
|
* Default true — CLI, Action, and SDK consumers address shapes in
|
|
@@ -13631,11 +14269,22 @@ declare function rewriteIdReferencesInMarkup(markup: string, renames: ReadonlyMa
|
|
|
13631
14269
|
*/
|
|
13632
14270
|
declare function symbolDefinitionSemanticHash(definition: SymbolLibraryDef, library?: readonly LibraryDef[]): string;
|
|
13633
14271
|
/**
|
|
13634
|
-
*
|
|
13635
|
-
*
|
|
13636
|
-
*
|
|
13637
|
-
*
|
|
13638
|
-
*
|
|
14272
|
+
* Every distinct face the plan's text asks for: family list, computed weight
|
|
14273
|
+
* and computed style, from rendered markup, inline `style` declarations and
|
|
14274
|
+
* author `<style>` blocks.
|
|
14275
|
+
*
|
|
14276
|
+
* Family *lists* are preserved rather than reduced to their first entry -
|
|
14277
|
+
* only the environment's resolver knows which candidate it can produce bytes
|
|
14278
|
+
* for. Lists with no embeddable candidate at all are dropped.
|
|
14279
|
+
*/
|
|
14280
|
+
declare function collectFontFacesFromPlan(plan: RenderPlan): FontFaceRequest[];
|
|
14281
|
+
/**
|
|
14282
|
+
* Distinct font families referenced by the plan, as primary names with quotes
|
|
14283
|
+
* and fallback stacks stripped and CSS generics excluded.
|
|
14284
|
+
*
|
|
14285
|
+
* A projection of {@link collectFontFacesFromPlan}, kept because a caller that
|
|
14286
|
+
* only needs to know *which* families appear should not have to reduce faces
|
|
14287
|
+
* itself. Embedding uses the faces: a family name cannot name a weight.
|
|
13639
14288
|
*/
|
|
13640
14289
|
declare function collectFontFamiliesFromPlan(plan: RenderPlan): string[];
|
|
13641
14290
|
/**
|
|
@@ -14535,6 +15184,148 @@ declare const SHAPE_GEOMETRY_DEFAULTS: Readonly<{
|
|
|
14535
15184
|
/** Shape types whose geometry defaults this table owns. */
|
|
14536
15185
|
type ShapeGeometryDefaultsType = keyof typeof SHAPE_GEOMETRY_DEFAULTS;
|
|
14537
15186
|
|
|
15187
|
+
/**
|
|
15188
|
+
* Per-vertex path animation, and its lowering onto `<path d>`.
|
|
15189
|
+
*
|
|
15190
|
+
* A Path exposes every persisted vertex as two independent numeric
|
|
15191
|
+
* animation channels, keyed `node[N].x` and `node[N].y`. They are the
|
|
15192
|
+
* granular complement to a whole-path `pathMorph` track: keyframe one
|
|
15193
|
+
* corner without authoring a second complete `d`.
|
|
15194
|
+
*
|
|
15195
|
+
* SVG has no per-vertex animation target — `d` is the only geometry
|
|
15196
|
+
* attribute a `<path>` exposes (SVG 2 §9.3.1), and SMIL animates whole
|
|
15197
|
+
* attribute values (SVG Animations §3.2). So per-vertex channels cannot
|
|
15198
|
+
* be emitted directly; they have to be *lowered*: sample every
|
|
15199
|
+
* contributing channel on a shared time grid, rebuild the point list at
|
|
15200
|
+
* each sample, and serialize one `d` keyframe per sample. That is what
|
|
15201
|
+
* {@link lowerPathNodeTracks} does, and it is the only way these tracks
|
|
15202
|
+
* can reach an exported file at all.
|
|
15203
|
+
*
|
|
15204
|
+
* This module owns two decisions outright, so no caller re-derives them:
|
|
15205
|
+
* what a channel does to a point list ({@link applyPathNodeValue}), and
|
|
15206
|
+
* whether its channels contribute at all
|
|
15207
|
+
* ({@link pathNodeTracksAreSuperseded}). Editor playback and both export
|
|
15208
|
+
* pipelines go through those. What legitimately differs is *when* a
|
|
15209
|
+
* channel is evaluated: export samples a time grid here, while playback
|
|
15210
|
+
* resolves each channel through the engine's repeat / accumulate / begin
|
|
15211
|
+
* envelope and composes the result onto a live buffer it shares with any
|
|
15212
|
+
* vertex drag in flight.
|
|
15213
|
+
*
|
|
15214
|
+
* Two consequences are load-bearing:
|
|
15215
|
+
*
|
|
15216
|
+
* - **Only `x` / `y` move.** `handleIn` / `handleOut` are absolute
|
|
15217
|
+
* coordinates, and moving a vertex leaves its handles where they are,
|
|
15218
|
+
* so the adjacent curve deforms. That is what the editor previews
|
|
15219
|
+
* while the user authors, so it is what export must bake; "fixing"
|
|
15220
|
+
* the handles here would make the file disagree with the canvas.
|
|
15221
|
+
* - **Each channel keeps its own easing.** Two channels on one vertex
|
|
15222
|
+
* can ease differently, and SMIL has a single `keySplines` list per
|
|
15223
|
+
* element. Easing is therefore resolved during sampling and the
|
|
15224
|
+
* emitted track is linear between samples, the same technique
|
|
15225
|
+
* `smil-kernel` already uses for overshoot curves it cannot express.
|
|
15226
|
+
*
|
|
15227
|
+
* @see https://svgwg.org/specs/animations/#AnimationAttributesAndProperties
|
|
15228
|
+
*/
|
|
15229
|
+
|
|
15230
|
+
/** The geometry a path's `d` is serialized from. */
|
|
15231
|
+
interface PathNodeGeometry {
|
|
15232
|
+
points: readonly SplinePointInput[];
|
|
15233
|
+
curveType: string;
|
|
15234
|
+
closed: boolean;
|
|
15235
|
+
tension: number;
|
|
15236
|
+
arcParams?: readonly ArcParams[];
|
|
15237
|
+
}
|
|
15238
|
+
/** One decoded per-vertex channel. */
|
|
15239
|
+
interface PathNodeChannel {
|
|
15240
|
+
index: number;
|
|
15241
|
+
coord: 'x' | 'y';
|
|
15242
|
+
}
|
|
15243
|
+
/**
|
|
15244
|
+
* Decode a per-vertex animation channel key. Returns `null` for every
|
|
15245
|
+
* other property so callers can fall through to their normal handling.
|
|
15246
|
+
*/
|
|
15247
|
+
declare function parsePathNodeProperty(property: string): PathNodeChannel | null;
|
|
15248
|
+
/** True when the track animates a single path vertex coordinate. */
|
|
15249
|
+
declare function isPathNodeTrack(track: Pick<AnimationTrack, 'property'>): boolean;
|
|
15250
|
+
/**
|
|
15251
|
+
* True when a whole-path track already owns this shape's `d`, so its
|
|
15252
|
+
* per-vertex channels must not contribute.
|
|
15253
|
+
*
|
|
15254
|
+
* Both channels write the same attribute, and neither the file format
|
|
15255
|
+
* nor the runtime has a way to compose them: two
|
|
15256
|
+
* `<animate attributeName="d">` on one element resolve by document order
|
|
15257
|
+
* under SMIL's replace semantics, and applying both in one frame yields
|
|
15258
|
+
* a hybrid that is neither animation. A `pathMorph` track states the
|
|
15259
|
+
* whole geometry at every instant, which is the more specific claim, so
|
|
15260
|
+
* it wins and the per-vertex channels stand down.
|
|
15261
|
+
*
|
|
15262
|
+
* This is the one place that decision is made. Export consults it before
|
|
15263
|
+
* lowering; playback consults it before applying a frame. They must not
|
|
15264
|
+
* drift, or the canvas shows something the exported file will not.
|
|
15265
|
+
*/
|
|
15266
|
+
declare function pathNodeTracksAreSuperseded(tracks: readonly AnimationTrack[], shapeId: string): boolean;
|
|
15267
|
+
/**
|
|
15268
|
+
* Write one per-vertex channel's value into a point list, in place.
|
|
15269
|
+
*
|
|
15270
|
+
* This is what a per-vertex channel *means*: it moves the addressed
|
|
15271
|
+
* vertex's x or y and touches nothing else — not the neighbouring
|
|
15272
|
+
* vertices, and deliberately not the vertex's own handles, which are
|
|
15273
|
+
* absolute coordinates that stay put so the adjacent curve deforms.
|
|
15274
|
+
*
|
|
15275
|
+
* In place rather than on a copy because the editor's playback buffer is
|
|
15276
|
+
* shared: a vertex the user is dragging and a channel that is ticking
|
|
15277
|
+
* both preview through it, and rebuilding the list from the base
|
|
15278
|
+
* geometry would erase whichever wrote first. Export composes onto its
|
|
15279
|
+
* own copy and gets the same result.
|
|
15280
|
+
*
|
|
15281
|
+
* Returns false when the key is not a per-vertex channel, when it
|
|
15282
|
+
* addresses a vertex the path does not have, or when the value is not
|
|
15283
|
+
* finite — so callers can fall through to their next handler.
|
|
15284
|
+
*/
|
|
15285
|
+
declare function applyPathNodeValue(points: readonly SplinePointInput[], property: string, value: number): boolean;
|
|
15286
|
+
/**
|
|
15287
|
+
* The path's `d` at absolute time `t`, with every per-vertex channel
|
|
15288
|
+
* applied over the base geometry.
|
|
15289
|
+
*
|
|
15290
|
+
* Both export pipelines bake their keyframes through here, so the SVG
|
|
15291
|
+
* file and the headless render cannot disagree. Playback does not call
|
|
15292
|
+
* this — see the module header for why its evaluation differs — but it
|
|
15293
|
+
* writes each channel through the same {@link applyPathNodeValue}.
|
|
15294
|
+
*/
|
|
15295
|
+
declare function resolvePathDAtTime(geometry: PathNodeGeometry, nodeTracks: readonly AnimationTrack[], t: number): string;
|
|
15296
|
+
/** What a lowering produced, and which source tracks it consumed. */
|
|
15297
|
+
interface LoweredPathNodeTracks {
|
|
15298
|
+
/** One synthetic whole-path track carrying `d` string keyframes. */
|
|
15299
|
+
track: AnimationTrack;
|
|
15300
|
+
/** Ids of the per-vertex tracks this replaces; callers must not emit them. */
|
|
15301
|
+
consumedTrackIds: string[];
|
|
15302
|
+
}
|
|
15303
|
+
/**
|
|
15304
|
+
* Lower every per-vertex track targeting one shape into a single
|
|
15305
|
+
* whole-path `pathMorph` track whose keyframes are `d` strings.
|
|
15306
|
+
*
|
|
15307
|
+
* Returns `null` when the shape has no per-vertex tracks, or when the
|
|
15308
|
+
* geometry has too few points to serialize. The emitted track carries
|
|
15309
|
+
* `property: 'pathMorph'` so it flows through the existing `d` emission
|
|
15310
|
+
* path — including the paste-offset / ancestor-matrix baking that keeps
|
|
15311
|
+
* animated keyframes in the same coordinate space as the static `d`.
|
|
15312
|
+
*
|
|
15313
|
+
* Timing is taken from the union of the contributing tracks. Repeat and
|
|
15314
|
+
* fill settings are carried only when every contributor agrees on them:
|
|
15315
|
+
* one element cannot express two different repeat counts, and inventing
|
|
15316
|
+
* a winner would silently retime channels the user set deliberately.
|
|
15317
|
+
*/
|
|
15318
|
+
declare function lowerPathNodeTracks(tracks: readonly AnimationTrack[], shapeId: string, geometry: PathNodeGeometry): LoweredPathNodeTracks | null;
|
|
15319
|
+
/**
|
|
15320
|
+
* Read the base geometry off a serialized spline path, mirroring how
|
|
15321
|
+
* `resolveSpline` in `./shape-geometry` produces that shape's static
|
|
15322
|
+
* `d`. Baked keyframes and the static attribute must come from the same
|
|
15323
|
+
* serializer, or the first animated frame snaps.
|
|
15324
|
+
*
|
|
15325
|
+
* Returns `null` for anything that is not a point-list path.
|
|
15326
|
+
*/
|
|
15327
|
+
declare function serializedPathNodeGeometry(shape: SerializedShape | null | undefined): PathNodeGeometry | null;
|
|
15328
|
+
|
|
14538
15329
|
/**
|
|
14539
15330
|
* Structured, DOM-free parser for SVG path data.
|
|
14540
15331
|
*
|
|
@@ -15058,12 +15849,6 @@ interface SmilKeyframeData {
|
|
|
15058
15849
|
* cubic-bezier (LINEAR, LINEAR_FUNCTION, STEPS).
|
|
15059
15850
|
*/
|
|
15060
15851
|
declare function getKeyframeCubicBezier(kf: AnimationKeyframe): [number, number, number, number] | null;
|
|
15061
|
-
/**
|
|
15062
|
-
* Solve a cubic bezier for a given input time using Newton-Raphson
|
|
15063
|
-
* iteration, falling back to bisection when the derivative degenerates.
|
|
15064
|
-
* Returns the eased output, which may leave [0, 1] for overshoot curves.
|
|
15065
|
-
*/
|
|
15066
|
-
declare function solveCubicBezier(x1: number, y1: number, x2: number, y2: number, t: number): number;
|
|
15067
15852
|
/**
|
|
15068
15853
|
* Reflect a cubic-bezier easing so the curve plays "in reverse" with the
|
|
15069
15854
|
* same visual shape. For `cubic-bezier(x1, y1, x2, y2)` that's
|
|
@@ -17619,4 +18404,4 @@ interface RasterQualityReport {
|
|
|
17619
18404
|
*/
|
|
17620
18405
|
declare function compareImages(reference: RasterImage, candidate: RasterImage, opts?: CompareImagesOptions): RasterQualityReport;
|
|
17621
18406
|
|
|
17622
|
-
export { ANIMATION_MANAGER_INTERPOLATION_POLICY, type AdditiveAnimationValue, type Affine2D, type AffineTransformMatrix, type AggregateDocumentFieldKey, type AlphaMode, type AngleInterpolationPolicy, type AnimatablePropertyDescriptor, type AnimationCycleTrack, type AnimationDefinitionTarget, type AnimationKeyframe, type AnimationOperation, type AnimationTimeline, type AnimationTrack, type AnimationTrackTimeSample, type AnimationTrigger, type AnimationTriggerType, type AnyNodeProps, type AppearanceExpansion, type AppearanceExpansionDeps, type AppearanceFillLayer, type AppearanceLayer, type AppearanceLayerKind, type AppearancePaintValue, type AppearanceStrokeLayer, type AppearanceStyleLibraryDef, type AppearanceStyleSource, type AppliedIngestPlan, type ApplyIngestPlanOptions, type ArcCenterParameterization, type ArcParams, type AriaRole, Arrow, type ArrowNodeProps, Audio, type AuthoredGradientGeometry, type AuthoredLengthCoordinate, type AuthoredMarkerGeometry, type AuthoredPaintReference, type AuthoredPatternGeometry, type AuthoredTextCoordinate, type AuthoredTextPosition, type AuthoredUseGeometry, BASE_FILL_LAYER_ID, BASE_STROKE_LAYER_ID, BROWSER_SVG_EXTENSION_URIS, BUILTIN_MARKER_ID_MAP, type BaseFilter, type BaseFilterPrimitive, type BlackAndWhiteFilter, type BlurQuality, type BoundingBox, type BoundsDiagnostic, type BoundsDiagnosticCode, type BoundsRect, type BoundsResult, type BoundsStatus, type BrightnessFilter, type BuildSvgDestinationIdentityIndexOptions, type BuiltinShapeGeometryType, CANONICAL_NORMALIZATION_FAULT_POINTS, CC_NS, COLLAB_PROTOCOL_VERSION, COMMON_PROP_DEFAULTS, COMMON_TRANSFORM_NODE_DEFAULTS, CONNECTOR_LABEL_BASELINE_LIFT, CONNECTOR_LABEL_FONT_FAMILY, CONNECTOR_LABEL_FONT_SIZE, CURRENT_SCHEMA_VERSION, CanonicalDocument, type CanonicalNormalizationFaultPoint, type CanonicalRootFramePolicy, type CanonicalSnapshotNormalizationOptions, type CanonicalSnapshotNormalizationResult, type ChannelPainterFilter, Circle, type CircleNodeProps, type CircleShapeGeometry, type ClipMaskDefinition, type ClipMaskGroupDeltaOperation, type ClipMaskOperation, type ClipMaskRenderPlan, type ClipMaskWrapDirective, Cloud, type CloudNodeProps, type CodeFormat, type CodegenOptions, type CollabClock, type CollaborationSnapshot, type CollaborationStamp, type CollaborationState, type ColorInterpolationPolicy, type CommonNodeProps, type CommonTransformNodeProps, type CompareImagesOptions, type ConnectionDirection, type ConnectionDirectionValue, type ConnectionPoint, type ConnectionPointValue, type ConnectorAnchorResolver, type ConnectorEndpointRefValue, type ConnectorLabelAnchor, type ConnectorRouteResult, type ConnectorRoutingModeValue, Container, type ContainerContentBounds, type ContainerNodeProps, ContainerShapeBuilder, type ContainerShapeGeometry, type ContainerTransformOwner, type ContouringDiscreteFilter, type ContouringTableFilter, type ContrastFilter, type CornerShapeValue, type CreateDocumentOptions, type CreateShapeOptions, Cross, type CrossNodeProps, type CrumpledPlasticFilter, type CssAnimationSourceGroup, type CssFunctionToken, type CssLocalUrlToken, type CssProjectedTransformChannel, type CssProjectedTransformStop, type CssTopLevelRange, type CssTransformBox, type CssTransformOrigin, type CssTransformOriginContext, type CssTransformProjection, type CssTransformProjectionStatus, type CssTransformStop, type CssTransformValueIssue, type CustomPatternDef, type CycleBehavior, type CylinderNodeProps, DC_NS, DEFAULT_CONNECTOR_CORNER_RADIUS, DEFAULT_COORDINATE_PRECISION, DEFAULT_RICH_TEXT_STYLE, DOCUMENT_FIELDS, DOCUMENT_FIELD_LIVE_AUTHORITY, DOCUMENT_INGEST_POLICIES, DOCUMENT_SECTION_ORDER, type DecodedSvgSource, type DeepReadonly, type DefinitionAttribute, type DefinitionAuthoredPlacement, type DefinitionPlacementIndex, type DefinitionPlacementScope, type DeltaEStats, type DescriptiveEmissionOptions, type DiamondNodeProps, type DiffuseLightingFilter, type DocumentBoundsHost, type DocumentBoundsOptions, type DocumentBoundsView, DocumentBuilder, type DocumentBuilderOptions, type DocumentDefinitionContainer, type DocumentExtension, type DocumentExtensionAttribute, type DocumentExtensionCharacterNode, type DocumentExtensionElementNode, type DocumentExtensionNode, type DocumentFieldAuthority, type DocumentFieldDescriptor, type DocumentFieldKey, type DocumentFieldRegistryGates, type DocumentMetadata, DocumentModel, type DocumentNodeProps, type DocumentReplacementHooks, type DocumentReplacementListener, type DocumentReplacementResult, type DocumentReplacementTransition, type DocumentResourceOperation, type DocumentScript, type DocumentSectionKey, type DocumentSectionListener, type DocumentSectionOrderGates, DocumentSession, type DocumentSessionView, type DocumentShapeNodeProps, type DocumentStyle, type DropShadowFilter, type DuotoneFilter, EASING_CURVES, EasingType, Ellipse, type EllipseNodeProps, type EllipseShapeGeometry, type EmbeddedPayloadRewriter, type EmbeddedPayloadSlotKind, type EmbeddedSvgShapeGeometry, type EmbeddedSvgTransformResult, type EmbeddedSvgViewportOverride, type EmbossFilter, type EnsureTextSpanRangeResult, type EvaluateSvgConditionalProcessingOptions, type ExpandedName, type ExportItemOperation, type Extent1D, type ExtractedVariables, FLOWCHART_GEOMETRY_DEFAULTS, type FeBlendPrimitive, type FeColorMatrixPrimitive, type FeComponentTransferPrimitive, type FeCompositePrimitive, type FeConvolveMatrixPrimitive, type FeDiffuseLightingPrimitive, type FeDisplacementMapPrimitive, type FeDropShadowPrimitive, type FeFloodPrimitive, type FeGaussianBlurPrimitive, type FeImagePrimitive, type FeMergePrimitive, type FeMorphologyPrimitive, type FeOffsetPrimitive, type FeSpecularLightingPrimitive, type FeTilePrimitive, type FeTurbulencePrimitive, type FieldPrecision, type FieldSerialization, type FillType, type FilmGrainFilter, type FilterBlendMode, type FilterChainGroup, type FilterDefinitionEnvelope, type FilterElementAttrs, type FilterLibraryDef, type FilterLightSource, type FilterPrimitive, type FilterPrimitiveType, type FilterType, type FlowchartBoxNodeProps, type FlowchartBoxParams, type FlowchartBoxType, type FontVariantCssInput, type ForeignObjectNodeProps, type FusableTrack, type FusableViewBoxTrack, type GaussianBlurFilter, Gear, type GearNodeProps, type GenerateCodeResult, type GenerateSudokuOptions, type GeneratedFilterEnvelope, type GeneratedSudokuPuzzle, type GeneratedWordSearch, type GlowFilter, type GouacheFilter, type GradientDefinition, type GradientDefinitionEnvelope, type GradientLibraryDef, type GradientSpreadMethod, type GradientStop, type GradientStopEnvelope, type GradientTransformMatrix, type GradientUnits, type GraphChangeListener, type GrayscaleFilter, type GroupNodeProps, type GroupPresentationData, type Guide, type GuideDeltaOperation, HEADLESS_SVG_STYLE_ENVIRONMENT, Heart, type HeartNodeProps, type HistorySnapshot, type HueRotateFilter, Hyperlink, type HyperlinkNodeProps, IDENTITY_AFFINE, INGEST_APPLY_STAGES, INGEST_DIAGNOSTIC_CODES, INGEST_DOCUMENT_ROOT_IDENTITY, INGEST_FEATURES, INGEST_FEATURE_CAPABILITIES, INGEST_PLAN_VERSION, INGRESS_INTENTS, INLINE_CHILD_CONTAINER_TYPES, type ImageAttribution, type ImageNodeProps, ImageShape, type IndexedResource, IngestApplicationError, type IngestApplyContext, type IngestApplyStage, type IngestDiagnostic, type IngestDiagnosticCode, type IngestDiagnosticSeverity, type IngestDocumentFieldCandidates, type IngestExternalEffectValue, type IngestExternalFontDescriptorsValue, type IngestExternalFontSourceValue, type IngestFeature, type IngestFeatureCapability, type IngestFeatureCapabilityGates, type IngestFeatureIntentMatrix, type IngestFeatureStatus, type IngestFieldPolicy, type IngestFieldPolicyAction, type IngestFieldPolicyGates, type IngestFieldPolicyMatrix, type IngestPlan, type IngestPlanApplyAdapter, type IngestPlanValue, type IngestReferenceEdgeValue, type IngestResult, type IngestRootFrameValue, type IngestShapeCandidateValue, type IngestSource, type IngestSourceDescriptor, type IngestSourceElementDescriptor, type IngressIntent, type InkBlotFilter, type InlineContainerTransformResult, type InnerGlowFilter, type InnerShadowFilter, type InterpolationCharOffset, type InterpolationColor, type InterpolationGradient, type InterpolationGradientStop, type InterpolationPoint, type InterpolationSplinePoint, type InvertFilter, type JsonObject, type JsonPrimitive, type JsonValue, KNOWN_METADATA_PREFIXES, KNOWN_STATE_KEYS, type KeyedSerializedAnimationKeyframe, LAYER_PRESENTATION_IDS, LIBRARY_ASSEMBLY_KIND_ORDER, LIBRARY_EMIT_ORDER, LIBRARY_KINDS, type LibraryDef, type LibraryDefBase, type LibraryDefOfKind, type LibraryDefinitionIndex, type LibraryIndex, type LibraryKind, type LibrarySource, type LicenseType, type LightSource, Lightning, type LightningNodeProps, Line, type LineEndpointValue, type LineNodeProps, type LineShapeGeometry, type LinearEasingPoint, type LinearGradient, LinearGradientBuilder, type LinearGradientLibraryDef, type LinearGradientLibraryValue, type LiveInterpolationPolicy, MARKER_HEIGHT, MARKER_VIEWBOX, MARKER_WIDTH, MATHML_EXTENSION_URI, MAX_COORDINATE_PRECISION, MIGRATIONS, type MarkerDescriptor, type MarkerLibraryDef, type MarkerReferenceSets, type MaterializedIngestNode, type MatrixDecomposition2D, type Measurement, type MeasurementDeltaOperation, type MediaNodeProps, type MetadataDeltaOperation, type MetadataDescriptiveElement, type MigratableVersion, type Migration, type MorphologyFilter, type MorphologyOperator, type MotionBlurFilter, NAMESPACE_VOCABULARIES, NGon, type NGonNodeProps, NON_RENDERING_LIBRARY_KINDS, NON_WIRE_PROP_KEYS, NUMERIC_SHAPE_TRANSFORM_STATE_KEYS, type NamedResource, type NamespaceVocabulary, NestedSvg, type NodeChangeListener, type NodeFactoryMode, NodeSchemaRegistry, type NodeTypePropsMap, type NodeTypeSchema, type NoiseFilter, type OpMetadataPatch, type OpShapeState, type OpacityFilter, type Operation, type OperationValidationIssue, type OperationValidationResult, type OutlineFilter, type OutlinePosition, PAINT_SERVER_PASSTHROUGH_ATTR, POLYGON_GEOMETRY_DEFAULTS, PRESENTATION_SEMANTICS, PUZZLE_DEFAULTS, type ParallelogramNodeProps, type ParseOptions, type ParsedCssAnimation, type ParsedPreserveAspectRatio, type ParsedSvgPathCommand, type ParsedSvgPathCommandType, type ParsedSvgViewBox, type ParsedTimingFunction, Path, type PathBoundsRect, PathCurveType, type PathNodeProps, type PathPoint, PathPointType, type PathShapeGeometry, PatternBuilder, type PatternDefinitionEnvelope, type PatternElement, type PatternFill, type PatternLibraryDef, type PatternParams, type PatternSvgContentResult, type PatternType, type PixelateFilter, type PlanSnapshotExternalEffectsOptions, type PlanSvgAnimationsOptions, type PlanSvgClipMasksOptions, type PlanSvgConditionalProcessingOptions, type PlanSvgContainerHierarchyOptions, type PlanSvgExternalEffectsOptions, type PlanSvgFiltersOptions, type PlanSvgGradientsOptions, type PlanSvgImportOptions, type PlanSvgLeafGeometryOptions, type PlanSvgMarkersOptions, type PlanSvgMetadataOptions, type PlanSvgOccurrenceViewportsOptions, type PlanSvgPaintServerDefinitionsOptions, type PlanSvgPatternsOptions, type PlanSvgResourceDependenciesOptions, type PlanSvgScriptsOptions, type PlanSvgStyleCascadeOptions, type PlanSvgSymbolUsesOptions, type PlanSvgUseOccurrencesOptions, type Point, type PointLightFilter, type PolygonBaseNodeProps, Polyline, type PolylineNodeProps, type PolylineShapeGeometry, type PositioningRectShapeGeometry, type PresentationSemanticContext, type PresentationSemanticEntry, type PresentationSemanticId, type PresentationValueReader, type PresentationWrite, type PreserveAspectRatioAlign, type PreviousPlacement, type PrimitiveChainFilterEnvelope, type ProjectedTextLinePosition, type PropDef, type PropStamp, type PuzzleBounds, type PuzzleOptions, type PuzzlePiece, type PuzzleStyle, type PuzzleTabPattern, RDF_NS, RENDER_DIAGNOSTIC_CODES, RENDER_FEATURES, RENDER_FEATURE_CAPABILITIES, RENDER_TARGETS, RICH_TEXT_STYLE_KEYS, type RadialGradient, RadialGradientBuilder, type RadialGradientLibraryDef, type RadialGradientLibraryValue, type RasterImage, type RasterQualityReport, type RawFilterEnvelope, type RawSvgFilter, type Rect, Rectangle, type RectangleNodeProps, type RectangleShapeGeometry, type RejectedWordSearchWord, type RenderAnimationElementsOptions, type RenderCapability, type RenderCapabilityMatrix, type RenderCapabilityMatrixGates, type RenderDiagnostic, type RenderDiagnosticCode, type RenderDiagnosticSeverity, type RenderFeature, type RenderFeatureCapability, type RenderFeatureCapabilityGates, type RenderFeatureTargetMatrix, type RenderFinalizationOptions, type RenderFrameAttributeOmissions, type RenderOptions, type RenderPlan, type RenderPlanBodyEntry, type RenderPlanDefEntry, type RenderPlanDefKind, type RenderPlanDefinitionContainer, type RenderPlanDefs, type RenderPlanEnvelope, type RenderPlanFrame, type RenderPlanOptions, type RenderPlanShape, type RenderShapeContext, type RenderTarget, type RenderToSvgResult, type RenderedDefinitionAnimationElement, type ResolveSvgClipMaskContext, type ResolveSvgGradientGeometryContext, type ResolveSvgPatternTileContext, type ResolvedConnectorAnchor, type ResolvedConnectorEndpoints, type ResolvedContainerTransform, type ResolvedLibraryGradient, type ResolvedSvgPatternTile, type ResolvedSvgRectRadii, type ResolvedSvgViewport, type ResolvedSvgViewportFrame, type ResolvedSymbolDefinitionRender, type ResolvedSymbolInstanceContent, type ResolvedSymbolViewport, type ResolvedTextFragment, type ResolvedTextSpan, type ResolvedTextSpanChild, type ResolvedTextSpanProjection, type ResourceKey, type Rgba, type RichTextAlignmentBaseline, type RichTextDecoration, type RichTextFontWeight, type RichTextFormatRange, type RichTextLineSpan, type RichTextResolvedData, type RichTextResolvedLine, type RichTextResolvedSegment, type RichTextResolvedStyle, type RichTextRun, type RichTextRuns, type RichTextSegmentsInput, type RichTextStyleDelta, type RichTextTspanAttribute, type RiddledFilter, Ring, type RingNodeProps, type RoundEdgesFilter, SAXES_SVG_XML_PARSER_HOST, SERIALIZED_SHAPE_STATE_KEYS, SHAPE_ENVELOPE_KEYS, SHAPE_GEOMETRY_DEFAULTS, SHAPE_TRANSFORM_STATE_KEYS, SVGSKETCH_NS, SVGSKETCH_PATH_EXTENSIONS, SVG_CONDITIONAL_PROCESSING_ATTRIBUTES, SVG_IMPORT_CAPABILITY_OWNERS, SVG_NAMESPACE, SVG_NS, SVG_PRESENTATION_PROPERTIES, SVG_WELL_KNOWN_NAMESPACE_URIS, type SaturateFilter, SceneGraph, SceneNode, type SceneTreeReplayHost, type SegmentCurveType, type SepiaFilter, type SerializedAnimationKeyframe, type SerializedAnimationTimeline, type SerializedAnimationTrack, type SerializedCharOffset, type SerializedClipMaskGroup, type SerializedColorGlyph, type SerializedColorGlyphLibrary, type SerializedExportItem, type SerializedGroup, type SerializedMarkerDef, type SerializedPaintServerDef, type SerializedSceneNodePlacement, type SerializedShape, type SerializedShapeState, type SerializedShapeStateKeyGates, type SerializedShapeTransformState, type SerializedSymbolDef, type SerializedVariantAxis, type SerializedViewbox, type SeverityOptions, type SeverityReport, ShapeBuilder, type ShapeEnvelopeKeyGates, type ShapeFilter, type ShapeGeometryDefaultsType, type ShapeGeometryDescriptor, type ShapeGeometryKernel, type ShapeGeometryRendererKey, type ShapeLibraryDefBase, type ShapeLocalObjectBoundsHost, type ShapeMetadata, type ShapeObjectBoundsHost, ShapeReference, type ShapeReferenceGeometry, type ShapeReferenceNodeProps, type ShapeReferenceTransformResult, type ShapeTransformState, type ShapeTreeVisitor, type SharpenFilter, type SmilAnimationKeyframe, type SmilCalcMode, type SmilKeyframeAttributes, type SmilKeyframeData, type SmilTimingRelation, type SmilTimingTrack, type SmilValue, type SmilValueAttributes, type SmilValueType, type SmilViewBoxAxis, type SmilViewBoxQuartet, type SolveSudokuOptions, type SpecularLightingFilter, SpeechBubble, type SpeechBubbleNodeProps, Spiral, type SpiralNodeProps, type SpliceTextSpanTreeResult, type SplinePointInput, type SpotLightFilter, Square, type SquareNodeProps, Star, type StarNodeProps, type StepPosition, type StepsParams, type StringifyOptions, type StrokeType, type StructureChangeListener, type StyledTextContent, type StyledTextLine, type StyledTextSegment, type StyledTextSource, type SudokuDifficulty, type SudokuGrid, type SudokuRating, type SudokuValidationResult, type SvgAnimationPlan, type SvgAnimationTargetStatus, type SvgAnimationTimelineDefinitionTarget, type SvgAnimationTimelineProjectionHost, type SvgAnimationTimelineShapeBinding, type SvgAppliedResourceDeclaration, type SvgAuthoredAttributeClassification, type SvgAuthoredAttributePlan, type SvgAuthoredAttributeRecord, type SvgAuthoredDeclaration, type SvgClipMaskBinding, type SvgClipMaskBindingStatus, type SvgClipMaskDefinition, type SvgClipMaskDefinitionMutation, type SvgClipMaskGeometryPlacement, type SvgClipMaskObjectBounds, type SvgClipMaskPlan, type SvgClipMaskRegion, type SvgClipMaskRepresentation, type SvgClipMaskResolution, type SvgClipMaskStatus, type SvgClipMaskType, type SvgClipMaskUnits, type SvgConditionalProcessingCandidate, type SvgConditionalProcessingCondition, type SvgConditionalProcessingPlan, type SvgContainerHierarchy, type SvgContainerHierarchyNode, type SvgContainerHierarchyPlacement, type SvgContainerKind, type SvgCssAnimationCandidate, type SvgCssKeyframeDeclaration, type SvgCssKeyframeStopPlan, type SvgCssKeyframesPlan, type SvgCssSpecificity, type SvgDescriptiveElement, type SvgDestinationIdAllocator, type SvgDestinationIdAssignment, type SvgDestinationIdRequest, type SvgDestinationIdentityChannel, type SvgDestinationIdentityIndex, type SvgDestinationIdentityOwner, type SvgDocumentMetadataCandidate, type SvgElementMetadataCandidate, type SvgElementStylePlan, type SvgEmbeddedFrameCandidate, type SvgEmbeddedFrameState, type SvgExternalAssetCandidate, type SvgExternalAssetStatus, type SvgExternalEffectsPlan, type SvgExternalFontCandidate, type SvgFilterBinding, type SvgFilterBindingStatus, type SvgFilterCandidate, type SvgFilterCandidateStatus, type SvgFilterOperation, type SvgFilterOperationStatus, type SvgFilterPlan, type SvgFilterRegion, type SvgGradientCandidate, type SvgGradientFallback, type SvgGradientGeometryValue, type SvgGradientPaintBinding, type SvgGradientPlan, type SvgGradientStatus, type SvgGradientStopCandidate, type SvgGradientTransform, type SvgHtmlMetadataElement, type SvgImportCapabilityAuthority, type SvgImportCapabilityOwner, type SvgImportCapabilityOwnershipGates, SvgImportError, type SvgImportPlan, type SvgImportProjectionContext, type SvgIngestDiagnosticContext, type SvgLeafCanonicalType, type SvgLeafGeometryCandidate, type SvgLeafGeometryPlan, type SvgLeafGeometryStatus, type SvgLengthContext, type SvgLengthToken, type SvgLocalReferenceChannel, type SvgMarkerAnimationCandidate, type SvgMarkerAuthoredGeometry, type SvgMarkerCandidate, type SvgMarkerContentCandidate, type SvgMarkerPlan, type SvgMarkerStatus, type SvgMetadataPlan, type SvgNodeProps, type SvgOccurrenceViewportContext, type SvgOccurrenceViewportPlan, type SvgPaintServerDefinitionCandidate, type SvgPaintServerDefinitionPlan, type SvgParsedStyleAttribute, type SvgPathAffineMatrix, type SvgPathCommandType, type SvgPathExtensionCommandType, type SvgPathMetricPoint, type SvgPathMetrics, type SvgPathMetricsOptions, type SvgPathParseError, type SvgPathParseErrorCode, type SvgPathParseOptions, type SvgPathParseResult, type SvgPathParserExtensions, type SvgPatternCandidate, type SvgPatternContentOccurrence, type SvgPatternFallback, type SvgPatternPaintBinding, type SvgPatternPlan, type SvgPatternResourceCandidate, type SvgPatternStatus, type SvgPatternTransform, type SvgPatternValue, type SvgPlannedScript, type SvgPresentationAttributeApplicability, type SvgPrimitiveChainFilter, type SvgPropertySemantics, type SvgResourceDependencyClosure, type SvgResourceDependencyComponent, type SvgResourceDependencyEdge, type SvgResourceDependencyKind, type SvgResourceDependencyMaterialization, type SvgResourceDependencyPlan, type SvgResourceElementKind, type SvgResourceProperty, type SvgScriptCandidate, type SvgScriptPlan, type SvgScriptScope, type SvgSmilAnimationCandidate, type SvgSmilAnimationKind, type SvgSourceAttribute, type SvgSourceCharacterNode, SvgSourceDecodingError, type SvgSourceDocument, type SvgSourceElement, type SvgSourceElementIdPlan, type SvgSourceGeneratedIdPlan, type SvgSourceHref, type SvgSourceIdOccurrence, type SvgSourceIdentifierPlan, type SvgSourceIdentifierPlanOptions, type SvgSourceIndex, type SvgSourceLocalReference, type SvgSourceNode, type SvgSourceReferenceRewrite, type SvgSourceResourceIdPlan, type SvgSourceResourceKind, type SvgStyleCascadePlan, type SvgStyleDeclarationOrigin, type SvgStyleEnvironment, type SvgStyleRulePlan, type SvgStylesheetPlan, type SvgSymbolDefinitionCandidate, type SvgSymbolDefinitionKind, type SvgSymbolUseCandidate, type SvgSymbolUseGeometry, type SvgSymbolUsePlan, type SvgSymbolUseStatus, type SvgSymbolUseTransform, type SvgTextMetricsHost, type SvgTextSpanNodeCandidate, type SvgTextSpanTarget, type SvgTextSpanTreeCandidate, type SvgUnboundStylesheetResourceReference, type SvgUseDefinitionComponent, type SvgUseOccurrence, type SvgUseOccurrenceEdge, type SvgUseOccurrencePlan, type SvgUseOccurrenceRole, type SvgUseResolution, type SvgUseResolutionStatus, type SvgUseResourceCapability, type SvgUseResourcePolicy, type SvgUseResourceRoot, type SvgUseSourceResolution, type SvgUseSourceResolutionStatus, type SvgViewCandidate, type SvgViewState, type SvgViewportDiagnostic, type SvgViewportDimensions, type SvgViewportFrame, type SvgViewportSize, type SvgViewportStatus, type SvgXmlAttributeInput, type SvgXmlCharacterNodeInput, type SvgXmlElementInput, type SvgXmlNodeInput, type SvgXmlParserHost, SvgXmlParserHostError, type SvgXmlParserHostResult, type SvgXmlSourceSpan, Switch, type SwitchNodeProps, type SymbolInstanceGeometry, type SymbolInstanceMaterialization, type SymbolInstanceNodeProps, type SymbolInstanceTransformResult, type SymbolLengthContext, type SymbolLibraryDef, type SymbolMaterialization, type SymbolMaterializationDiagnostic, type SymbolMaterializationDiagnosticCode, type SymbolMaterializationPlan, type SymbolMaterializationPlanOptions, type SymbolResolutionDiagnostic, type SymbolResolutionDiagnosticCode, type SymbolViewportDiagnostic, type SymbolViewportDiagnosticCode, type SymbolViewportHost, TYPED_FIELD_PREDICATES, type TemplateVariable, type TemplateVariableMode, type TemplateVariableOperation, type TemplateVariableSource, type TemplateVariableType, type TerminatorNodeProps, Text, type TextFormatOperation, type TextLayoutCaret, type TextLayoutCaretDraft, TextLayoutEngine, type TextLayoutGlyph, type TextLayoutGlyphDraft, type TextLayoutLine, type TextLayoutMeasurementRequest, type TextLayoutPoint, type TextLayoutProduct, type TextLayoutProductDraft, type TextLayoutProductHost, type TextLayoutRect, type TextLayoutRequest, type TextLayoutResult, type TextLayoutSegment, type TextLayoutViewport, type TextLayoutVisualLine, type TextLinePosition, type TextMeasurementHost, type TextNodeProps, type TextObjectBoundsMeasurement, type TextPathReference, type TextShapeGeometry, type TextShapeInsideGeometry, type TextShapeSpan, type TextSpanAnimationTarget, type TextSpanNode, type TextSpanRotationProjection, type TextSpanTree, type TextSplice, Timeline, Track, type TransferFunc, type TransformFusionPlan, type TransformStateLike, type TrapezoidNodeProps, Triangle, type TriangleNodeProps, VARIANT_INTERPOLATION_POLICY, type ValidationError, type ValidationResult, type VariableMap, type VariantAnimationElementSpec, type VariantCssPlan, type VariantCssSymbolPlan, type VariantSmilInnerAction, type VariantSmilOp, type VariantSmilSymbolPlan, type VariantTransitionInput, type VariantTransitionInstanceView, type VariantTransitionTimelineLike, type VariantWaapiPlan, type VariantWaapiSymbolPlan, Video, View, type ViewBoxFusionPlan, type ViewNodeProps, type ViewShapeGeometry, type Viewbox, type VocabularyAttribute, type VocabularyAttributes, type VocabularyProjection, WRAPPER_PRESENTATION_IDS, type WarpFilter, type WarpType, type WatercolorFilter, type WireAliasShapeStateFields, type WireOnlyShapeStateFields, type WordSearchAxes, type WordSearchCellPath, type WordSearchDirection, type WordSearchLintResult, type WordSearchOptions, type WordSearchPlacement, type WordSearchPrimitiveMask, XHTML_EXTENSION_URI, type XrayFilter, accumulateAnimationValue, addAnimationValues, addSmilPointsValues, affine, affineFromArray, affineToArray, almostEqualAffine, animationBackwardsFillTrack, animationCycleDuration, animationDefinitionTargetShapeId, animationTrackActiveEnd, animationTrackDocumentBegin, appearanceLayers, appendAppearanceLayer, applyAffineToPoint, applyAffineToVector, applyAppearanceStyle, applyClipMaskGroupDelta, applyClipMaskPlanToShapes, applyCssAnimationLonghandOverrides, applyGuideDeltaOp, applyIngestPlan, applyMeasurementDeltaOp, applyMetadataDeltaOp, applyOpToSnapshot, applyOpsInPlace, applyOpsToSnapshot, applyOpsToSnapshotWithAccepted, applyRichTextFormat, applyTextSplice, applyTextTransform, applyTimingFunctionToKeyframe, arcEndpointToCenter, areTracksTimingEquivalent, around, assembleLibraryDefs, assembleSvgFromPlan, assertIngestFeatureRegistry, assertIngestPolicyRegistry, assertNamespaceVocabularyRegistry, assertRasterImage, assertSvgImportCapabilityOwners, authoredPaintDeclarations, baseFillLayer, baseStrokeLayer, buildCompoundTransformValues, buildDefinitionPlacementIndex, buildFreshMetadataBlock, buildGuideDeltaOps, buildManagedChildren, buildManagedDescription, buildMeasurementDeltaOps, buildMetadataDeltaOps, buildRenderPlan, buildSmilKeyframeData, buildSmilKeyframes, buildSvgDestinationIdentityIndex, buildSvgIngestPlan, buildSymbolMaterializationPlan, buildViewBoxSmilKeyframeData, canonicalPolygonTransformString, canonicalTransformMatrix, canonicalTransformString, chainHasTargetedEffects, classifySvgExternalAssetUrl, clipMaskDefinitionFromGroup, clipMaskDefinitionsFromGroups, clipMaskGroupDefId, clipMaskGroupDefinitionId, clipMaskGroupIsRawBacked, clipMaskGroupWithDefinition, clipMaskOwnedDefIds, cloneTextSpanTree, collaborationResourceKey, collectDocumentEnvelopeLibraryReferenceIds, collectFontFamiliesFromPlan, collectMarkerReferences, collectReferencedLibraryDefs, collectReferencedMarkerIds, collectSvgFragmentLibraryReferenceIds, collectUnknownDocumentFields, compareImages, compareOrderKeys, composeDecomposedTransformMatrix, compositeOver, computeArrowVertices, computeCloudPath, computeCrossVertices, computeDashArray, computeFlowchartBoxPath, computeGearPath, computeGearVertices, computeHeartPath, computeLightningVertices, computePolygonVertices, computeRectanglePath, computeRingPath, computeSpeechBubbleVertices, computeSpiralPath, computeSplinePath, computeStarVertices, connectorLabelAnchor, containerTransformNeedsContentPivot, createDocument, createSceneNode, createShape, createSvgDestinationIdAllocator, createSvgPathMetrics, createTextLayoutKey, createTextLayoutProduct, createViewbox, createWordSearchPrimitiveMask, cssAnimationFillField, cssNamedColorToRgb, cubicBezierExtent1D, cubicBezierToEasingFields, customPatternDefToLibraryDef, declaredRichTextDeltaKeys, decodeCssEscapes, decodeSvgSourceBytes, decomposeAffine2D, defaultVariableMode, deltaE2000, deriveRichTextFormatRanges, deriveSegments, deriveTextSplice, derivedConnectionPoints, detachAppearanceStyle, documentObjectBounds, ellipticalArcBounds, emptyDocumentMetadata, ensureTextSpanRange, escXml, evaluateParsedTimingFunction, evaluateSvgConditionalProcessing, expandAppearanceStack, extractVariables, filterAttr, filterChainExtendsBounds, filterChainGroupId, filterChainGroups, filterDefinitionEnvelope, filterReferenceValue, finalizeRenderPlan, findShapeById, fingerprintCssAnimationDocumentStyles, fingerprintCssAnimationInlineStyles, fingerprintCssAnimationTrack, fingerprintIngestSource, flattenShapeStateTree, flattenStateExtra, flattenUnknownDocumentFields, foldSchemaV2AncestorTransformIntoMatrix, forEachAppearanceLayerRef, forEachAppearanceStyleRef, forEachLibraryRefInState, forEachMarkerRefInState, forEachReachableShape, forEachShapeInLibraryDefs, formatOperationValidationIssues, formatSmilKeySpline, formatSmilKeyTime, freezeIngestPlan, freezeSiblingOrderKeys, generateCode, generateCodeWithDiagnostics, generateCssCode, generateD3Code, generateId, generatePatternSvgContent, generatePuzzlePieces, generateReactCode, generateSudokuPuzzle, generateSvgCode, generateVueCode, generateWordSearch, geometryDefinitionId, geometryState, getBuiltInMarkerDefs, getEasingCubicBezier, getEffectivePrecision, getIngestFeatureCapability, getIngestFieldPolicy, getKeyframeCubicBezier, getLicenseLabel, getLicenseUrl, getMarkerDescriptors, getPatternElements, getShapeGeometryKernel, getSmilAccumulate, getSmilAdditive, getSmilBeginValue, getSmilFillMode, getSmilMotionKeyPoints, getSmilRepeatCount, getSmilSetBeginValue, getSmilTrackDuration, getSvgCoordinateAttributePrecision, getSvgPropertySemantics, getSvgSourceAttribute, getSvgSourceHref, getWordSearchDirections, hasAnyTypedMetadataField, hasEmittableSmilSimpleDuration, hasOpaqueSvgAncestor, hasSvgSourceAttribute, importSvg, importSvgWithDiagnostics, indexLibraryDefinitions, inferSvgCoordinatePrecision, initialOrderKeys, injectClipMaskReference, inspectCssTransformValue, interpolateAngle, interpolateCharOffsetArray, interpolateColor, interpolateDasharrayLists, interpolateGradient, interpolateNumericArray, interpolatePathData, interpolatePlainObject, interpolatePointArray, interpolatePolylinePoints, interpolateShapeTrees, interpolateSplinePointArray, invertAffine, isColorValue, isConnectorLineState, isCssAnimationDeclarationName, isCssNamedColor, isDefaultKeyPoints, isDefaultKeyTimes, isFiniteAffineArray, isGradientLike, isIdentityAffine, isIdentityLinearSplines, isIndefiniteSetTrack, isIndefiniteSmilSimpleDuration, isNumericArray, isReusablePatternTile, isSafeGradientRootAttributeName, isSafePatternRootAttributeName, isSetSequenceTrack, isSvgPresentationProperty, isValidOrderKey, keyBetween, keysBetween, layerFilterTargets, layerPaints, layerState, layoutText, legacyEndpointMarkerId, lerpNumber, linearGradient, linearGradientEnvelope, lintWordSearchOptions, luma709, mapAnimationTrackTime, matchCubicBezierToPreset, materializeSceneTreeOrderKeys, matrixTransformPart, maxCollaborationTimestamp, mergeRichTextStyle, migrateSnapshot, migrateV11toV12, migrateV14toV15, migrateV15toV16, migrateV16toV17, migrateV17toV18, migrateV18toV19, migrateV6toV7, migrateViewboxSidecarToViews, motionPathD, moveResourceById, multiplyAffine, mutateSvgClipMaskDefinitionMarkup, namespaceVocabularies, namespaceVocabulary, needsAppearanceStack, nodeSchemas, normalizeClipMaskGroups, normalizePaintServerDef, normalizeRichTextRuns, normalizeRichTextStyle, normalizeRichTextStyleDelta, normalizeSmilPointsValue, normalizeSnapshotStructure, normalizeSnapshotToCanonicalDocument, orderSiblings, paintingLayers, parseColor, parseCssAnimationShorthand, parseCssTimingFunction, parseCssTransformOrigin, parseDocument, parseDocumentWithDiagnostics, parseInterpolationNumbers, parsePreserveAspectRatio, parseSmilAdditive, parseSmilClockValue, parseSmilDuration, parseSmilFillField, parseSmilKeySplines, parseSmilKeyTimes, parseSmilRepeatSettings, parseSmilValues, parseSvgAbsoluteLength, parseSvgLength, parseSvgLengthList, parseSvgLengthToken, parseSvgPathData, parseSvgRootFrame, parseSvgSourceDocument, parseSvgStyleAttribute, parseSvgTransformList, parseSvgViewBox, parseVariableArgs, parseWordSearchWords, partitionShapeStateTree, partitionStateExtra, partitionUnknownDocumentFields, pathCommandStructuresMatch, pathDataBounds, pattern, patternDefinitionEnvelope, patternLibraryDefToCustomPatternDef, patternTileSize, pickCssAnimationListItem, plainTextOf, plainTextStyle, planClipMaskGroups, planSnapshotExternalEffects, planSvgAnimations, planSvgAuthoredAttributes, planSvgClipMasks, planSvgConditionalProcessing, planSvgContainerHierarchy, planSvgDocumentExtensions, planSvgEmbeddedFrames, planSvgExternalEffects, planSvgFilters, planSvgGradients, planSvgImport, planSvgLeafGeometry, planSvgMarkers, planSvgMetadata, planSvgOccurrenceViewports, planSvgPaintServerDefinitions, planSvgPatterns, planSvgResourceDependencies, planSvgScripts, planSvgSourceIdentifiers, planSvgStyleCascade, planSvgSymbolUses, planSvgUseOccurrences, planSvgViews, planTransformFusion, planVariantTransitionsCss, planVariantTransitionsSmil, planVariantTransitionsWaapi, planViewBoxFusion, premultiply, prepareSvgAuthorCssForLiveProjection, prepareSvgExternalAssetUrlForLiveProjection, prepareSvgMarkupForLiveProjection, prepareSvgXmlSource, preserveAspectRatioAlignFactor, projectClipMaskDefinitionAnimations, projectCssTransformStops, projectDefinitionAnimations, projectPresentation, projectPresentationEntry, projectSceneTreeOntoClipMaskGroups, projectSceneTreeOntoShapes, projectSvgAnimationPlan, projectSvgAnimationTimeline, projectSvgImportToIngestPlan, projectSvgImportToSnapshot, projectSvgSourceNodes, projectTextLinePosition, projectTextSpanRotations, promoteManagedDescription, promoteRebasedShapeUpdateClock, pruneAndWrapSubtree, quadraticBezierExtent1D, radialGradient, radialGradientEnvelope, rebaseRichTextFormatRanges, rebaseRichTextRuns, reflectCubicBezier, registerNamespaceVocabulary, registeredExtensionUris, registeredShapeGeometryTypes, removeResourceById, removeResourceByKey, removeResourceByName, removeTrackKeyframe, renderAnimationElements, renderBuiltinMarkerDefs, renderCircle, renderClipMaskDefinitionAnimationElements, renderClipMaskDefinitionShape, renderDefinitionAnimationElements, renderDescriptiveElements, renderDocumentAnimationElements, renderDocumentExtensionAttributes, renderDocumentExtensionNodes, renderDocumentExtensions, renderDocumentScripts, renderDocumentStyles, renderEllipse, renderFilterDefs, renderFilterElement, renderFilterLibraryDef, renderFilterPrimitive, renderFilterPrimitivesForType, renderFlowchartBox, renderForeignObject, renderGradientDefs, renderGradientStopAnimationElement, renderImage, renderLibraryDef, renderLibraryDefs, renderLine, renderLinearGradient, renderLinearGradientLibraryDef, renderMarkerLibraryDef, renderPaintServerDefs, renderPatternLibraryDef, renderPlanDefsBody, renderPolygonShape, renderPolyline, renderRadialGradient, renderRadialGradientLibraryDef, renderRectangle, renderReferencedLibraryDefs, renderResolvedSymbolDefinitionForest, renderResolvedSymbolDefinitionSubtree, renderResolvedSymbolLibraryDef, renderShape, renderShapeContextForLibrary, renderSpline, renderSvgPrimitiveChainFilter, renderSymbolInstance, renderSymbolLibraryDef, renderTemplateVariablesStyle, renderText, renderTextSpanAnimationElements, renderToSvg, renderToSvgWithDiagnostics, replaceClipMaskDefinition, replaceClipMaskGroupsInSceneTree, replaySceneTreePlacements, requiredDecimalPrecision, resolveAppearanceStyle, resolveConnectorAnchorFromDocument, resolveConnectorEndpoints, resolveContainerTransform, resolveContainerTransformFromContentBounds, resolveCssAnimationEasingType, resolveEmbeddedSvgTransform, resolveEmbeddedSvgViewportFrameBounds, resolveGradientLibraryDef, resolveInlineContainerTransform, resolveMetadataQName, resolvePasteWrapperViewportSize, resolvePatternLibraryDef, resolveRichTextStyleAt, resolveShapeGeometry, resolveShapeLocalObjectBounds, resolveShapeObjectBounds, resolveShapeReferenceTransform, resolveStyledTextLines, resolveSvgGradientGeometry, resolveSvgLengthToken, resolveSvgPatternTile, resolveSvgQName, resolveSvgRectRadii, resolveSvgTextSpanTarget, resolveSvgViewport, resolveSymbolDefinitionForestRootIds, resolveSymbolInstanceContent, resolveSymbolInstanceShapes, resolveSymbolInstanceTransform, resolveSymbolViewport, resolveTextSpanProjection, rewriteDocumentEmbeddedPayloads, rewriteIdReferencesInMarkup, rewriteShapeStateEmbeddedPayloads, rewriteSvgResourceReferenceValue, richTextFontVariantCss, richTextLineSpans, richTextRunsFromState, richTextStyleDelta, richTextStyleDeltasEqual, richTextStylesEqual, richTextTspanAttributes, rootMetadataAttrs, rootPaintServerDefId, rotateAffine, roundCoord, roundMarkupCoordinates, roundNumberString, roundSerializedShape, roundSnapshot, routeConnector, runsFromSegments, sameSize, sampleAnimationTrackTime, sanitizeRichTextFormatRanges, sanitizeXmlId, scaleAffine, scanCssFunctionTokens, scanCssLocalUrlTokens, senderCorrectionsForOp, serializeSvgPathData, serializedPresentationReader, severity, shapeAppearanceLayers, shapeAppearanceStyle, shapeLocalObjectBounds, shapeLocalObjectCenter, shapeNeedsAppearanceExpansion, shapeObjectBoundsInSpace, shouldRoundSvgCoordinateAttribute, skewXAffine, skewYAffine, smilKeyframeAttributes, snapshotBoundsView, solveCubicBezier, solveSudoku, spliceTextSpanTree, splinePathBounds, splitAppearanceForStyle, splitCssAnimationList, splitCssTopLevel, splitCssTopLevelRanges, splitTopLevelElements, srgbToLab, ssimPlane, stringifyDocument, stripAnimationDeclarations, stripCssAnimationInlineStyle, substituteString, substituteVariables, symbolDefinitionSemanticHash, symbolInstanceTargetId, synthesizeCssAnimationShorthand, templateVariablesCss, textSpanEffectiveRotations, textSpanIds, textSpanNodeById, textSpanRangeByIds, transformSplice, transformSvgPathData, translateAffine, translateSvgPathData, tryParseSvgTransformList, upsertResourceById, upsertResourceByKey, upsertResourceByName, upsertTrackKeyframe, validateDocumentOperations, validateOperation, validatePresenceOperation, validateSnapshot, validateSudokuPuzzle, verticesToPath, visitShapeTree, visitSnapshotShapeTrees, writeAppearanceLayers };
|
|
18407
|
+
export { ANIMATION_MANAGER_INTERPOLATION_POLICY, type AdditiveAnimationValue, type Affine2D, type AffineTransformMatrix, type AggregateDocumentFieldKey, type AlphaMode, type AngleInterpolationPolicy, type AnimatablePropertyDescriptor, type AnimationCycleTrack, type AnimationDefinitionTarget, type AnimationKeyframe, type AnimationOperation, type AnimationTimeline, type AnimationTrack, type AnimationTrackTimeSample, type AnimationTrigger, type AnimationTriggerType, type AnyNodeProps, type AppearanceExpansion, type AppearanceExpansionDeps, type AppearanceFillLayer, type AppearanceLayer, type AppearanceLayerKind, type AppearancePaintValue, type AppearanceStrokeLayer, type AppearanceStyleLibraryDef, type AppearanceStyleSource, type AppliedIngestPlan, type ApplyIngestPlanOptions, type ArcCenterParameterization, type ArcParams, type AriaRole, Arrow, type ArrowNodeProps, Audio, type AuthoredGradientGeometry, type AuthoredLengthCoordinate, type AuthoredMarkerGeometry, type AuthoredPaintReference, type AuthoredPatternGeometry, type AuthoredTextCoordinate, type AuthoredTextPosition, type AuthoredUseGeometry, BASE_FILL_LAYER_ID, BASE_STROKE_LAYER_ID, BROWSER_SVG_EXTENSION_URIS, BUILTIN_MARKER_ID_MAP, type BaseFilter, type BaseFilterPrimitive, type BlackAndWhiteFilter, type BlurQuality, type BoundingBox, type BoundsDiagnostic, type BoundsDiagnosticCode, type BoundsRect, type BoundsResult, type BoundsStatus, type BrightnessFilter, type BuildForeignImportReportInput, type BuildSvgDestinationIdentityIndexOptions, type BuiltinShapeGeometryType, CANONICAL_NORMALIZATION_FAULT_POINTS, CC_NS, COLLAB_PROTOCOL_VERSION, COMMON_PROP_DEFAULTS, COMMON_TRANSFORM_NODE_DEFAULTS, CONNECTOR_LABEL_BASELINE_LIFT, CONNECTOR_LABEL_FONT_FAMILY, CONNECTOR_LABEL_FONT_SIZE, CSS_GENERIC_FAMILY_NAMES, CURRENT_SCHEMA_VERSION, CanonicalDocument, type CanonicalNormalizationFaultPoint, type CanonicalRootFramePolicy, type CanonicalSnapshotNormalizationOptions, type CanonicalSnapshotNormalizationResult, type ChannelPainterFilter, Circle, type CircleNodeProps, type CircleShapeGeometry, type ClipMaskDefinition, type ClipMaskGroupDeltaOperation, type ClipMaskOperation, type ClipMaskRenderPlan, type ClipMaskWrapDirective, Cloud, type CloudNodeProps, type CodeFormat, type CodegenOptions, type CollabClock, type CollaborationSnapshot, type CollaborationStamp, type CollaborationState, type ColorInterpolationPolicy, type CommonNodeProps, type CommonTransformNodeProps, type CompareImagesOptions, type ConnectionDirection, type ConnectionDirectionValue, type ConnectionPoint, type ConnectionPointValue, type ConnectorAnchorResolver, type ConnectorEndpointRefValue, type ConnectorLabelAnchor, type ConnectorRouteResult, type ConnectorRoutingModeValue, Container, type ContainerContentBounds, type ContainerNodeProps, ContainerShapeBuilder, type ContainerShapeGeometry, type ContainerTransformOwner, type ContouringDiscreteFilter, type ContouringTableFilter, type ContrastFilter, type CornerShapeValue, type CreateDocumentOptions, type CreateShapeOptions, Cross, type CrossNodeProps, type CrumpledPlasticFilter, type CssAnimationSourceGroup, type CssFunctionToken, type CssLocalUrlToken, type CssProjectedTransformChannel, type CssProjectedTransformStop, type CssTopLevelRange, type CssTransformBox, type CssTransformOrigin, type CssTransformOriginContext, type CssTransformProjection, type CssTransformProjectionStatus, type CssTransformStop, type CssTransformValueIssue, type CustomPatternDef, type CycleBehavior, type CylinderNodeProps, DC_NS, DEFAULT_CONNECTOR_CORNER_RADIUS, DEFAULT_CONNECTOR_LABEL_OFFSET, DEFAULT_CONNECTOR_LABEL_POSITION, DEFAULT_COORDINATE_PRECISION, DEFAULT_FONT_WEIGHT, DEFAULT_RICH_TEXT_STYLE, DOCUMENT_BYTE_KINDS, DOCUMENT_FIELDS, DOCUMENT_FIELD_LIVE_AUTHORITY, DOCUMENT_IMPORT_INTENTS, DOCUMENT_IMPORT_KINDS, DOCUMENT_INGEST_POLICIES, DOCUMENT_SECTION_ORDER, type DecodedSvgSource, type DecorationOutcome, type DeepReadonly, type DefinitionAttribute, type DefinitionAuthoredPlacement, type DefinitionPlacementIndex, type DefinitionPlacementScope, type DeltaEStats, type DescriptiveEmissionOptions, type DiamondNodeProps, type DiffuseLightingFilter, type DocumentBoundsHost, type DocumentBoundsOptions, type DocumentBoundsView, DocumentBuilder, type DocumentBuilderOptions, type DocumentByteKind, type DocumentDefinitionContainer, type DocumentExtension, type DocumentExtensionAttribute, type DocumentExtensionCharacterNode, type DocumentExtensionElementNode, type DocumentExtensionNode, type DocumentFieldAuthority, type DocumentFieldDescriptor, type DocumentFieldKey, type DocumentFieldRegistryGates, type DocumentMetadata, DocumentModel, type DocumentNodeProps, type DocumentReplacementHooks, type DocumentReplacementListener, type DocumentReplacementResult, type DocumentReplacementTransition, type DocumentResourceOperation, type DocumentScript, type DocumentSectionKey, type DocumentSectionListener, type DocumentSectionOrderGates, DocumentSession, type DocumentSessionView, type DocumentShapeNodeProps, type DocumentStyle, type DropShadowFilter, type DuotoneFilter, EASING_CURVES, EasingType, Ellipse, type EllipseNodeProps, type EllipseShapeGeometry, type EmbeddedPayloadRewriter, type EmbeddedPayloadSlotKind, type EmbeddedSvgShapeGeometry, type EmbeddedSvgTransformResult, type EmbeddedSvgViewportOverride, type EmbossFilter, type EnsureTextSpanRangeResult, type EvaluateSvgConditionalProcessingOptions, type ExpandedName, type ExportItemOperation, type Extent1D, type ExtractedVariables, FLOWCHART_GEOMETRY_DEFAULTS, type FeBlendPrimitive, type FeColorMatrixPrimitive, type FeComponentTransferPrimitive, type FeCompositePrimitive, type FeConvolveMatrixPrimitive, type FeDiffuseLightingPrimitive, type FeDisplacementMapPrimitive, type FeDropShadowPrimitive, type FeFloodPrimitive, type FeGaussianBlurPrimitive, type FeImagePrimitive, type FeMergePrimitive, type FeMorphologyPrimitive, type FeOffsetPrimitive, type FeSpecularLightingPrimitive, type FeTilePrimitive, type FeTurbulencePrimitive, type FieldPrecision, type FieldSerialization, type FillType, type FilmGrainFilter, type FilterBlendMode, type FilterChainGroup, type FilterDefinitionEnvelope, type FilterElementAttrs, type FilterLibraryDef, type FilterLightSource, type FilterPrimitive, type FilterPrimitiveType, type FilterType, type FlowchartBoxNodeProps, type FlowchartBoxParams, type FlowchartBoxType, type FontCoverageResult, type FontCoverageStatus, type FontFaceRequest, type FontVariantCssInput, type ForeignImportBucket, type ForeignImportContainer, type ForeignImportFontRequirement, type ForeignImportReport, type ForeignImportReportItem, type ForeignImportVocabulary, type ForeignObjectNodeProps, type FusableTrack, type FusableViewBoxTrack, type GaussianBlurFilter, Gear, type GearNodeProps, type GenerateCodeResult, type GenerateSudokuOptions, type GeneratedFilterEnvelope, type GeneratedSudokuPuzzle, type GeneratedWordSearch, type GlowFilter, type GouacheFilter, type GradientDefinition, type GradientDefinitionEnvelope, type GradientLibraryDef, type GradientSpreadMethod, type GradientStop, type GradientStopEnvelope, type GradientTransformMatrix, type GradientUnits, type GraphChangeListener, type GrayscaleFilter, type GroupNodeProps, type GroupPresentationData, type Guide, type GuideDeltaOperation, HEADLESS_SVG_STYLE_ENVIRONMENT, Heart, type HeartNodeProps, type HistorySnapshot, type HueRotateFilter, Hyperlink, type HyperlinkNodeProps, IDENTITY_AFFINE, INGEST_APPLY_STAGES, INGEST_DIAGNOSTIC_CODES, INGEST_DOCUMENT_ROOT_IDENTITY, INGEST_FEATURES, INGEST_FEATURE_CAPABILITIES, INGEST_PLAN_VERSION, INGRESS_INTENTS, INLINE_CHILD_CONTAINER_TYPES, type ImageAttribution, type ImageNodeProps, ImageShape, type IndexedResource, IngestApplicationError, type IngestApplyContext, type IngestApplyStage, type IngestDiagnostic, type IngestDiagnosticCode, type IngestDiagnosticSeverity, type IngestDocumentFieldCandidates, type IngestExternalEffectValue, type IngestExternalFontDescriptorsValue, type IngestExternalFontSourceValue, type IngestFeature, type IngestFeatureCapability, type IngestFeatureCapabilityGates, type IngestFeatureIntentMatrix, type IngestFeatureStatus, type IngestFieldPolicy, type IngestFieldPolicyAction, type IngestFieldPolicyGates, type IngestFieldPolicyMatrix, type IngestNodeDecoration, type IngestNodeDecorations, type IngestPlan, type IngestPlanApplyAdapter, type IngestPlanValue, type IngestReferenceEdgeValue, type IngestResult, type IngestRootFrameValue, type IngestShapeCandidateValue, type IngestSource, type IngestSourceDescriptor, type IngestSourceElementDescriptor, type IngressIntent, type InkBlotFilter, type InlineContainerTransformResult, type InnerGlowFilter, type InnerShadowFilter, type InterpolationCharOffset, type InterpolationColor, type InterpolationGradient, type InterpolationGradientStop, type InterpolationPoint, type InterpolationSplinePoint, type InvertFilter, type JsonObject, type JsonPrimitive, type JsonValue, KNOWN_METADATA_PREFIXES, KNOWN_STATE_KEYS, type KeyedSerializedAnimationKeyframe, LAYER_PRESENTATION_IDS, LIBRARY_ASSEMBLY_KIND_ORDER, LIBRARY_EMIT_ORDER, LIBRARY_KINDS, type LibraryDef, type LibraryDefBase, type LibraryDefOfKind, type LibraryDefinitionIndex, type LibraryIndex, type LibraryKind, type LibrarySource, type LicenseType, type LightSource, Lightning, type LightningNodeProps, Line, type LineEndpointValue, type LineNodeProps, type LineShapeGeometry, type LinearEasingPoint, type LinearGradient, LinearGradientBuilder, type LinearGradientLibraryDef, type LinearGradientLibraryValue, type LiveInterpolationPolicy, type LoweredPathNodeTracks, MARKER_HEIGHT, MARKER_VIEWBOX, MARKER_WIDTH, MATHML_EXTENSION_URI, MAX_COORDINATE_PRECISION, MIGRATIONS, type MarkerDescriptor, type MarkerLibraryDef, type MarkerReferenceSets, type MaterializedIngestNode, type MatrixDecomposition2D, type Measurement, type MeasurementDeltaOperation, type MediaNodeProps, type MetadataDeltaOperation, type MetadataDescriptiveElement, type MigratableVersion, type Migration, type MorphologyFilter, type MorphologyOperator, type MotionBlurFilter, NAMESPACE_VOCABULARIES, NGon, type NGonNodeProps, NON_RENDERING_LIBRARY_KINDS, NON_WIRE_PROP_KEYS, NUMERIC_SHAPE_TRANSFORM_STATE_KEYS, type NamedResource, type NamespaceVocabulary, NestedSvg, type NodeChangeListener, type NodeFactoryMode, NodeSchemaRegistry, type NodeTypePropsMap, type NodeTypeSchema, type NoiseFilter, type OpMetadataPatch, type OpShapeState, type OpacityFilter, type Operation, type OperationValidationIssue, type OperationValidationResult, type OutlineFilter, type OutlinePosition, PAINT_SERVER_PASSTHROUGH_ATTR, POLYGON_GEOMETRY_DEFAULTS, PRESENTATION_SEMANTICS, PUZZLE_DEFAULTS, type ParallelogramNodeProps, type ParseOptions, type ParsedCssAnimation, type ParsedPreserveAspectRatio, type ParsedSvgPathCommand, type ParsedSvgPathCommandType, type ParsedSvgViewBox, type ParsedTimingFunction, Path, type PathBoundsRect, PathCurveType, type PathNodeChannel, type PathNodeGeometry, type PathNodeProps, type PathPoint, PathPointType, type PathShapeGeometry, PatternBuilder, type PatternDefinitionEnvelope, type PatternElement, type PatternFill, type PatternLibraryDef, type PatternParams, type PatternSvgContentResult, type PatternType, type PixelateFilter, type PlanSnapshotExternalEffectsOptions, type PlanSvgAnimationsOptions, type PlanSvgClipMasksOptions, type PlanSvgConditionalProcessingOptions, type PlanSvgContainerHierarchyOptions, type PlanSvgExternalEffectsOptions, type PlanSvgFiltersOptions, type PlanSvgGradientsOptions, type PlanSvgImportOptions, type PlanSvgLeafGeometryOptions, type PlanSvgMarkersOptions, type PlanSvgMetadataOptions, type PlanSvgOccurrenceViewportsOptions, type PlanSvgPaintServerDefinitionsOptions, type PlanSvgPatternsOptions, type PlanSvgResourceDependenciesOptions, type PlanSvgScriptsOptions, type PlanSvgStyleCascadeOptions, type PlanSvgSymbolUsesOptions, type PlanSvgUseOccurrencesOptions, type Point, type PointLightFilter, type PolygonBaseNodeProps, Polyline, type PolylineNodeProps, type PolylineShapeGeometry, type PositioningRectShapeGeometry, type PresentationSemanticContext, type PresentationSemanticEntry, type PresentationSemanticId, type PresentationValueReader, type PresentationWrite, type PreserveAspectRatioAlign, type PreviousPlacement, type PrimitiveChainFilterEnvelope, type ProjectedTextLinePosition, type PropDef, type PropStamp, type PuzzleBounds, type PuzzleOptions, type PuzzlePiece, type PuzzleStyle, type PuzzleTabPattern, RDF_NS, RENDER_DIAGNOSTIC_CODES, RENDER_FEATURES, RENDER_FEATURE_CAPABILITIES, RENDER_TARGETS, RICH_TEXT_STYLE_KEYS, type RadialGradient, RadialGradientBuilder, type RadialGradientLibraryDef, type RadialGradientLibraryValue, type RasterImage, type RasterQualityReport, type RawFilterEnvelope, type RawSvgFilter, type Rect, Rectangle, type RectangleNodeProps, type RectangleShapeGeometry, type RejectedWordSearchWord, type RenderAnimationElementsOptions, type RenderCapability, type RenderCapabilityMatrix, type RenderCapabilityMatrixGates, type RenderDiagnostic, type RenderDiagnosticCode, type RenderDiagnosticSeverity, type RenderFeature, type RenderFeatureCapability, type RenderFeatureCapabilityGates, type RenderFeatureTargetMatrix, type RenderFinalizationOptions, type RenderFrameAttributeOmissions, type RenderOptions, type RenderPlan, type RenderPlanBodyEntry, type RenderPlanDefEntry, type RenderPlanDefKind, type RenderPlanDefinitionContainer, type RenderPlanDefs, type RenderPlanEnvelope, type RenderPlanFrame, type RenderPlanOptions, type RenderPlanShape, type RenderShapeContext, type RenderTarget, type RenderToSvgResult, type RenderedDefinitionAnimationElement, type ResolveSvgClipMaskContext, type ResolveSvgGradientGeometryContext, type ResolveSvgPatternTileContext, type ResolvedConnectorAnchor, type ResolvedConnectorEndpoints, type ResolvedContainerTransform, type ResolvedLibraryGradient, type ResolvedSvgPatternTile, type ResolvedSvgRectRadii, type ResolvedSvgViewport, type ResolvedSvgViewportFrame, type ResolvedSymbolDefinitionRender, type ResolvedSymbolInstanceContent, type ResolvedSymbolViewport, type ResolvedTextFragment, type ResolvedTextSpan, type ResolvedTextSpanChild, type ResolvedTextSpanProjection, type ResourceKey, type Rgba, type RichTextAlignmentBaseline, type RichTextDecoration, type RichTextFontWeight, type RichTextFormatRange, type RichTextLineSpan, type RichTextResolvedData, type RichTextResolvedLine, type RichTextResolvedSegment, type RichTextResolvedStyle, type RichTextRun, type RichTextRuns, type RichTextSegmentsInput, type RichTextStyleDelta, type RichTextTspanAttribute, type RiddledFilter, Ring, type RingNodeProps, type RootViewportFraming, type RoundEdgesFilter, SAXES_SVG_XML_PARSER_HOST, SCRIPT_ANIMATION_GENERATORS, SERIALIZED_SHAPE_STATE_KEYS, SHAPE_ENVELOPE_KEYS, SHAPE_GEOMETRY_DEFAULTS, SHAPE_TRANSFORM_STATE_KEYS, SVGSKETCH_NS, SVGSKETCH_PATH_EXTENSIONS, SVG_CONDITIONAL_PROCESSING_ATTRIBUTES, SVG_IMPORT_CAPABILITY_OWNERS, SVG_NAMESPACE, SVG_NS, SVG_PRESENTATION_PROPERTIES, SVG_WELL_KNOWN_NAMESPACE_URIS, type SaturateFilter, SceneGraph, SceneNode, type SceneTreeReplayHost, type ScriptAnimationCandidateScript, type ScriptAnimationGenerator, type ScriptAnimationSource, type SegmentCurveType, type SepiaFilter, type SerializedAnimationKeyframe, type SerializedAnimationTimeline, type SerializedAnimationTrack, type SerializedCharOffset, type SerializedClipMaskGroup, type SerializedColorGlyph, type SerializedColorGlyphLibrary, type SerializedExportItem, type SerializedGroup, type SerializedMarkerDef, type SerializedPaintServerDef, type SerializedSceneNodePlacement, type SerializedShape, type SerializedShapeState, type SerializedShapeStateKeyGates, type SerializedShapeTransformState, type SerializedSymbolDef, type SerializedVariantAxis, type SerializedViewbox, type SeverityOptions, type SeverityReport, ShapeBuilder, type ShapeEnvelopeKeyGates, type ShapeFilter, type ShapeGeometryDefaultsType, type ShapeGeometryDescriptor, type ShapeGeometryKernel, type ShapeGeometryRendererKey, type ShapeLibraryDefBase, type ShapeLocalObjectBoundsHost, type ShapeMetadata, type ShapeObjectBoundsHost, ShapeReference, type ShapeReferenceGeometry, type ShapeReferenceNodeProps, type ShapeReferenceTransformResult, type ShapeTransformState, type ShapeTreeVisitor, type SharpenFilter, type SmilAnimationKeyframe, type SmilCalcMode, type SmilKeyframeAttributes, type SmilKeyframeData, type SmilTimingRelation, type SmilTimingTrack, type SmilValue, type SmilValueAttributes, type SmilValueType, type SmilViewBoxAxis, type SmilViewBoxQuartet, type SolveSudokuOptions, type SpecularLightingFilter, SpeechBubble, type SpeechBubbleNodeProps, Spiral, type SpiralNodeProps, type SpliceTextSpanTreeResult, type SplinePointInput, type SpotLightFilter, Square, type SquareNodeProps, Star, type StarNodeProps, type StepPosition, type StepsParams, type StringifyOptions, type StrokeType, type StructureChangeListener, type StyledTextContent, type StyledTextLine, type StyledTextSegment, type StyledTextSource, type SudokuDifficulty, type SudokuGrid, type SudokuRating, type SudokuValidationResult, type SvgAnimationPlan, type SvgAnimationTargetStatus, type SvgAnimationTimelineDefinitionTarget, type SvgAnimationTimelineProjectionHost, type SvgAnimationTimelineShapeBinding, type SvgAppliedResourceDeclaration, type SvgAuthoredAttributeClassification, type SvgAuthoredAttributePlan, type SvgAuthoredAttributeRecord, type SvgAuthoredDeclaration, type SvgClipMaskBinding, type SvgClipMaskBindingStatus, type SvgClipMaskDefinition, type SvgClipMaskDefinitionMutation, type SvgClipMaskGeometryPlacement, type SvgClipMaskObjectBounds, type SvgClipMaskPlan, type SvgClipMaskRegion, type SvgClipMaskRepresentation, type SvgClipMaskResolution, type SvgClipMaskStatus, type SvgClipMaskType, type SvgClipMaskUnits, type SvgConditionalProcessingCandidate, type SvgConditionalProcessingCondition, type SvgConditionalProcessingPlan, type SvgContainerHierarchy, type SvgContainerHierarchyNode, type SvgContainerHierarchyPlacement, type SvgContainerKind, type SvgCssAnimationCandidate, type SvgCssKeyframeDeclaration, type SvgCssKeyframeStopPlan, type SvgCssKeyframesPlan, type SvgCssSpecificity, type SvgDescriptiveElement, type SvgDestinationIdAllocator, type SvgDestinationIdAssignment, type SvgDestinationIdRequest, type SvgDestinationIdentityChannel, type SvgDestinationIdentityIndex, type SvgDestinationIdentityOwner, type SvgDocumentMetadataCandidate, type SvgElementMetadataCandidate, type SvgElementStylePlan, type SvgEmbeddedFrameCandidate, type SvgEmbeddedFrameState, type SvgExternalAssetCandidate, type SvgExternalAssetStatus, type SvgExternalEffectsPlan, type SvgExternalFontCandidate, type SvgFilterBinding, type SvgFilterBindingStatus, type SvgFilterCandidate, type SvgFilterCandidateStatus, type SvgFilterOperation, type SvgFilterOperationStatus, type SvgFilterPlan, type SvgFilterRegion, type SvgFramingRect, type SvgGradientCandidate, type SvgGradientFallback, type SvgGradientGeometryValue, type SvgGradientPaintBinding, type SvgGradientPlan, type SvgGradientStatus, type SvgGradientStopCandidate, type SvgGradientTransform, type SvgHtmlMetadataElement, type SvgImportCapabilityAuthority, type SvgImportCapabilityOwner, type SvgImportCapabilityOwnershipGates, SvgImportError, type SvgImportPlan, type SvgImportProjectionContext, type SvgIngestDiagnosticContext, type SvgLeafCanonicalType, type SvgLeafGeometryCandidate, type SvgLeafGeometryPlan, type SvgLeafGeometryStatus, type SvgLengthContext, type SvgLengthToken, type SvgLocalReferenceChannel, type SvgMarkerAnimationCandidate, type SvgMarkerAuthoredGeometry, type SvgMarkerCandidate, type SvgMarkerContentCandidate, type SvgMarkerPlan, type SvgMarkerStatus, type SvgMetadataPlan, type SvgNodeProps, type SvgOccurrenceViewportContext, type SvgOccurrenceViewportPlan, type SvgPaintServerDefinitionCandidate, type SvgPaintServerDefinitionPlan, type SvgParsedStyleAttribute, type SvgPathAffineMatrix, type SvgPathCommandType, type SvgPathExtensionCommandType, type SvgPathMetricPoint, type SvgPathMetrics, type SvgPathMetricsOptions, type SvgPathParseError, type SvgPathParseErrorCode, type SvgPathParseOptions, type SvgPathParseResult, type SvgPathParserExtensions, type SvgPatternCandidate, type SvgPatternContentOccurrence, type SvgPatternFallback, type SvgPatternPaintBinding, type SvgPatternPlan, type SvgPatternResourceCandidate, type SvgPatternStatus, type SvgPatternTransform, type SvgPatternValue, type SvgPlannedScript, type SvgPresentationAttributeApplicability, type SvgPrimitiveChainFilter, type SvgPropertySemantics, type SvgResourceDependencyClosure, type SvgResourceDependencyComponent, type SvgResourceDependencyEdge, type SvgResourceDependencyKind, type SvgResourceDependencyMaterialization, type SvgResourceDependencyPlan, type SvgResourceElementKind, type SvgResourceProperty, type SvgScriptCandidate, type SvgScriptPlan, type SvgScriptScope, type SvgSmilAnimationCandidate, type SvgSmilAnimationKind, type SvgSourceAttribute, type SvgSourceCharacterNode, SvgSourceDecodingError, type SvgSourceDocument, type SvgSourceElement, type SvgSourceElementIdPlan, type SvgSourceGeneratedIdPlan, type SvgSourceHref, type SvgSourceIdOccurrence, type SvgSourceIdentifierPlan, type SvgSourceIdentifierPlanOptions, type SvgSourceIndex, type SvgSourceLocalReference, type SvgSourceNode, type SvgSourceReferenceRewrite, type SvgSourceResourceIdPlan, type SvgSourceResourceKind, type SvgStyleCascadePlan, type SvgStyleDeclarationOrigin, type SvgStyleEnvironment, type SvgStyleRulePlan, type SvgStylesheetPlan, type SvgSymbolDefinitionCandidate, type SvgSymbolDefinitionKind, type SvgSymbolUseCandidate, type SvgSymbolUseGeometry, type SvgSymbolUsePlan, type SvgSymbolUseStatus, type SvgSymbolUseTransform, type SvgTextMetricsHost, type SvgTextSpanNodeCandidate, type SvgTextSpanTarget, type SvgTextSpanTreeCandidate, type SvgUnboundStylesheetResourceReference, type SvgUseDefinitionComponent, type SvgUseOccurrence, type SvgUseOccurrenceEdge, type SvgUseOccurrencePlan, type SvgUseOccurrenceRole, type SvgUseResolution, type SvgUseResolutionStatus, type SvgUseResourceCapability, type SvgUseResourcePolicy, type SvgUseResourceRoot, type SvgUseSourceResolution, type SvgUseSourceResolutionStatus, type SvgViewCandidate, type SvgViewState, type SvgViewportDiagnostic, type SvgViewportDimensions, type SvgViewportFrame, type SvgViewportSize, type SvgViewportStatus, type SvgXmlAttributeInput, type SvgXmlCharacterNodeInput, type SvgXmlElementInput, type SvgXmlNodeInput, type SvgXmlParserHost, SvgXmlParserHostError, type SvgXmlParserHostResult, type SvgXmlSourceSpan, type SvgatorPayload, type SvgatorProjectionHost, type SvgatorProjectionResult, Switch, type SwitchNodeProps, type SymbolInstanceGeometry, type SymbolInstanceMaterialization, type SymbolInstanceNodeProps, type SymbolInstanceTransformResult, type SymbolLengthContext, type SymbolLibraryDef, type SymbolMaterialization, type SymbolMaterializationDiagnostic, type SymbolMaterializationDiagnosticCode, type SymbolMaterializationPlan, type SymbolMaterializationPlanOptions, type SymbolResolutionDiagnostic, type SymbolResolutionDiagnosticCode, type SymbolViewportDiagnostic, type SymbolViewportDiagnosticCode, type SymbolViewportHost, TYPED_FIELD_PREDICATES, type TemplateVariable, type TemplateVariableMode, type TemplateVariableOperation, type TemplateVariableSource, type TemplateVariableType, type TerminatorNodeProps, Text, type TextFormatOperation, type TextLayoutCaret, type TextLayoutCaretDraft, TextLayoutEngine, type TextLayoutGlyph, type TextLayoutGlyphDraft, type TextLayoutLine, type TextLayoutMeasurementRequest, type TextLayoutPoint, type TextLayoutProduct, type TextLayoutProductDraft, type TextLayoutProductHost, type TextLayoutRect, type TextLayoutRequest, type TextLayoutResult, type TextLayoutSegment, type TextLayoutViewport, type TextLayoutVisualLine, type TextLinePosition, type TextMeasurementHost, type TextNodeProps, type TextObjectBoundsMeasurement, type TextPathReference, type TextShapeGeometry, type TextShapeInsideGeometry, type TextShapeSpan, type TextSpanAnimationTarget, type TextSpanNode, type TextSpanRotationProjection, type TextSpanTree, type TextSplice, Timeline, Track, type TransferFunc, type TransformFusionPlan, type TransformStateLike, type TrapezoidNodeProps, Triangle, type TriangleNodeProps, VARIANT_INTERPOLATION_POLICY, type ValidationError, type ValidationResult, type VariableMap, type VariantAnimationElementSpec, type VariantCssPlan, type VariantCssSymbolPlan, type VariantSmilInnerAction, type VariantSmilOp, type VariantSmilSymbolPlan, type VariantTransitionInput, type VariantTransitionInstanceView, type VariantTransitionTimelineLike, type VariantWaapiPlan, type VariantWaapiSymbolPlan, Video, View, type ViewBoxFusionPlan, type ViewNodeProps, type ViewShapeGeometry, type Viewbox, type VocabularyAttribute, type VocabularyAttributeSource, type VocabularyAttributes, type VocabularyClaim, type VocabularyProjection, WRAPPER_PRESENTATION_IDS, type WarpFilter, type WarpType, type WatercolorFilter, type WireAliasShapeStateFields, type WireOnlyShapeStateFields, type WordSearchAxes, type WordSearchCellPath, type WordSearchDirection, type WordSearchLintResult, type WordSearchOptions, type WordSearchPlacement, type WordSearchPrimitiveMask, XHTML_EXTENSION_URI, type XrayFilter, accumulateAnimationValue, addAnimationValues, addSmilPointsValues, affine, affineFromArray, affineToArray, almostEqualAffine, animationBackwardsFillTrack, animationCycleDuration, animationDefinitionTargetShapeId, animationTrackActiveEnd, animationTrackDocumentBegin, appearanceLayers, appendAppearanceLayer, applyAffineToPoint, applyAffineToVector, applyAppearanceStyle, applyClipMaskGroupDelta, applyClipMaskPlanToShapes, applyCssAnimationLonghandOverrides, applyGuideDeltaOp, applyIngestPlan, applyMeasurementDeltaOp, applyMetadataDeltaOp, applyOpToSnapshot, applyOpsInPlace, applyOpsToSnapshot, applyOpsToSnapshotWithAccepted, applyPathNodeValue, applyRichTextFormat, applyTextSplice, applyTextTransform, applyTimingFunctionToKeyframe, arcEndpointToCenter, areTracksTimingEquivalent, around, assembleLibraryDefs, assembleSvgFromPlan, assertIngestFeatureRegistry, assertIngestPolicyRegistry, assertNamespaceVocabularyRegistry, assertRasterImage, assertSvgImportCapabilityOwners, authoredPaintDeclarations, baseFillLayer, baseStrokeLayer, buildCompoundTransformValues, buildDefinitionPlacementIndex, buildForeignImportReport, buildFreshMetadataBlock, buildGuideDeltaOps, buildManagedChildren, buildManagedDescription, buildMeasurementDeltaOps, buildMetadataDeltaOps, buildRenderPlan, buildSmilKeyframeData, buildSmilKeyframes, buildSvgDestinationIdentityIndex, buildSvgIngestPlan, buildSymbolMaterializationPlan, buildViewBoxSmilKeyframeData, canonicalPolygonTransformString, canonicalTransformMatrix, canonicalTransformString, chainHasTargetedEffects, claimElementThroughVocabulary, classifyIngestDiagnostic, classifySvgExternalAssetUrl, clipMaskDefinitionFromGroup, clipMaskDefinitionsFromGroups, clipMaskGroupDefId, clipMaskGroupDefinitionId, clipMaskGroupIsRawBacked, clipMaskGroupWithDefinition, clipMaskOwnedDefIds, cloneTextSpanTree, collaborationResourceKey, collectDocumentEnvelopeLibraryReferenceIds, collectFontFacesFromPlan, collectFontFamiliesFromPlan, collectMarkerReferences, collectReferencedLibraryDefs, collectReferencedMarkerIds, collectSvgFragmentLibraryReferenceIds, collectUnknownDocumentFields, compareImages, compareOrderKeys, composeDecomposedTransformMatrix, compositeOver, computeArrowVertices, computeCloudPath, computeCrossVertices, computeDashArray, computeFlowchartBoxPath, computeGearPath, computeGearVertices, computeHeartPath, computeLightningVertices, computePolygonVertices, computeRectanglePath, computeRingPath, computeSpeechBubbleVertices, computeSpiralPath, computeSplinePath, computeStarVertices, connectorLabelAnchor, containerTransformNeedsContentPivot, createDocument, createSceneNode, createShape, createSvgDestinationIdAllocator, createSvgPathMetrics, createTextLayoutKey, createTextLayoutProduct, createViewbox, createWordSearchPrimitiveMask, cssAnimationFillField, cssNamedColorToRgb, cubicBezierExtent1D, cubicBezierToEasingFields, customPatternDefToLibraryDef, declaredRichTextDeltaKeys, decodeCssEscapes, decodeSvgSourceBytes, decomposeAffine2D, decoratePlanNodes, decorateSnapshotShapes, dedupeFontFaces, defaultVariableMode, deltaE2000, deriveRichTextFormatRanges, deriveSegments, deriveTextSplice, derivedConnectionPoints, detachAppearanceStyle, documentObjectBounds, ellipticalArcBounds, emptyDocumentMetadata, ensureTextSpanRange, escXml, evaluateEasing, evaluateFontCoverage, evaluateKeyframeEasing, evaluateLinearEasing, evaluateParsedTimingFunction, evaluateSteps, evaluateSvgConditionalProcessing, expandAppearanceStack, extractVariables, filterAttr, filterChainExtendsBounds, filterChainGroupId, filterChainGroups, filterDefinitionEnvelope, filterReferenceValue, finalizeRenderPlan, findShapeById, fingerprintCssAnimationDocumentStyles, fingerprintCssAnimationInlineStyles, fingerprintCssAnimationTrack, fingerprintIngestSource, flattenShapeStateTree, flattenStateExtra, flattenUnknownDocumentFields, foldSchemaV2AncestorTransformIntoMatrix, fontFaceKey, forEachAppearanceLayerRef, forEachAppearanceStyleRef, forEachLibraryRefInState, forEachMarkerRefInState, forEachReachableShape, forEachShapeInLibraryDefs, formatCssFontFamilyList, formatOperationValidationIssues, formatSmilKeySpline, formatSmilKeyTime, freezeIngestPlan, freezeSiblingOrderKeys, generateCode, generateCodeWithDiagnostics, generateCssCode, generateD3Code, generateId, generatePatternSvgContent, generatePuzzlePieces, generateReactCode, generateSudokuPuzzle, generateSvgCode, generateVueCode, generateWordSearch, geometryDefinitionId, geometryState, getBuiltInMarkerDefs, getEasingCubicBezier, getEffectivePrecision, getIngestFeatureCapability, getIngestFieldPolicy, getKeyframeCubicBezier, getLicenseLabel, getLicenseUrl, getMarkerDescriptors, getPatternElements, getShapeGeometryKernel, getSmilAccumulate, getSmilAdditive, getSmilBeginValue, getSmilFillMode, getSmilMotionKeyPoints, getSmilRepeatCount, getSmilSetBeginValue, getSmilTrackDuration, getSvgCoordinateAttributePrecision, getSvgPropertySemantics, getSvgSourceAttribute, getSvgSourceHref, getWordSearchDirections, hasAnyTypedMetadataField, hasEmittableSmilSimpleDuration, hasOpaqueSvgAncestor, hasSvgSourceAttribute, importSvg, importSvgWithDiagnostics, indexLibraryDefinitions, inferSvgCoordinatePrecision, initialOrderKeys, injectClipMaskReference, inspectCssTransformValue, interpolateAngle, interpolateCharOffsetArray, interpolateColor, interpolateDasharrayLists, interpolateGradient, interpolateNumericArray, interpolatePathData, interpolatePlainObject, interpolatePointArray, interpolatePolylinePoints, interpolateShapeTrees, interpolateSplinePointArray, invertAffine, isColorValue, isConnectorLineState, isCssAnimationDeclarationName, isCssGenericFamilyName, isCssNamedColor, isDefaultKeyPoints, isDefaultKeyTimes, isDocumentImportIntent, isEntirelyUnembeddableFamilyList, isFiniteAffineArray, isGradientLike, isIdentityAffine, isIdentityLinearSplines, isIndefiniteSetTrack, isIndefiniteSmilSimpleDuration, isNumericArray, isPathNodeTrack, isReusablePatternTile, isSafeGradientRootAttributeName, isSafePatternRootAttributeName, isSetSequenceTrack, isSvgPresentationProperty, isUnembeddableFamilyName, isValidOrderKey, keyBetween, keysBetween, layerFilterTargets, layerPaints, layerState, layoutText, legacyEndpointMarkerId, lerpNumber, linearGradient, linearGradientEnvelope, lintWordSearchOptions, lowerPathNodeTracks, luma709, mapAnimationTrackTime, matchCubicBezierToPreset, materializeSceneTreeOrderKeys, matrixTransformPart, maxCollaborationTimestamp, mergeRichTextStyle, migrateSnapshot, migrateV11toV12, migrateV14toV15, migrateV15toV16, migrateV16toV17, migrateV17toV18, migrateV18toV19, migrateV6toV7, migrateViewboxSidecarToViews, motionPathD, moveResourceById, multiplyAffine, mutateSvgClipMaskDefinitionMarkup, namespaceVocabularies, namespaceVocabulary, needsAppearanceStack, nodeSchemas, normalizeClipMaskGroups, normalizePaintServerDef, normalizeRichTextRuns, normalizeRichTextStyle, normalizeRichTextStyleDelta, normalizeSmilPointsValue, normalizeSnapshotStructure, normalizeSnapshotToCanonicalDocument, orderSiblings, paintingLayers, parseColor, parseCssAnimationShorthand, parseCssTimingFunction, parseCssTransformOrigin, parseDocument, parseDocumentWithDiagnostics, parseFontFamilyList, parseInterpolationNumbers, parsePathNodeProperty, parsePreserveAspectRatio, parseSmilAdditive, parseSmilClockValue, parseSmilDuration, parseSmilFillField, parseSmilKeySplines, parseSmilKeyTimes, parseSmilRepeatSettings, parseSmilValues, parseSvgAbsoluteLength, parseSvgLength, parseSvgLengthList, parseSvgLengthToken, parseSvgPathData, parseSvgRootFrame, parseSvgSourceDocument, parseSvgStyleAttribute, parseSvgTransformList, parseSvgViewBox, parseSvgatorPayload, parseVariableArgs, parseWordSearchWords, partitionShapeStateTree, partitionStateExtra, partitionUnknownDocumentFields, pathCommandStructuresMatch, pathDataBounds, pathNodeTracksAreSuperseded, pattern, patternDefinitionEnvelope, patternLibraryDefToCustomPatternDef, patternTileSize, pickCssAnimationListItem, plainTextOf, plainTextStyle, planClipMaskGroups, planSnapshotExternalEffects, planSvgAnimations, planSvgAuthoredAttributes, planSvgClipMasks, planSvgConditionalProcessing, planSvgContainerHierarchy, planSvgDocumentExtensions, planSvgEmbeddedFrames, planSvgExternalEffects, planSvgFilters, planSvgGradients, planSvgImport, planSvgLeafGeometry, planSvgMarkers, planSvgMetadata, planSvgOccurrenceViewports, planSvgPaintServerDefinitions, planSvgPatterns, planSvgResourceDependencies, planSvgScripts, planSvgSourceIdentifiers, planSvgStyleCascade, planSvgSymbolUses, planSvgUseOccurrences, planSvgViews, planTransformFusion, planVariantTransitionsCss, planVariantTransitionsSmil, planVariantTransitionsWaapi, planViewBoxFusion, preferredSubsetsForText, premultiply, prepareSvgAuthorCssForLiveProjection, prepareSvgExternalAssetUrlForLiveProjection, prepareSvgMarkupForLiveProjection, prepareSvgXmlSource, preserveAspectRatioAlignFactor, projectClipMaskDefinitionAnimations, projectCssTransformStops, projectDefinitionAnimations, projectPresentation, projectPresentationEntry, projectSceneTreeOntoClipMaskGroups, projectSceneTreeOntoShapes, projectSvgAnimationPlan, projectSvgAnimationTimeline, projectSvgImportToIngestPlan, projectSvgImportToSnapshot, projectSvgSourceNodes, projectSvgatorAnimation, projectTextLinePosition, projectTextSpanRotations, promoteManagedDescription, promoteRebasedShapeUpdateClock, pruneAndWrapSubtree, quadraticBezierExtent1D, radialGradient, radialGradientEnvelope, rebaseRichTextFormatRanges, rebaseRichTextRuns, recognizeScriptAnimation, reflectCubicBezier, registerNamespaceVocabulary, registeredExtensionUris, registeredShapeGeometryTypes, removeResourceById, removeResourceByKey, removeResourceByName, removeTrackKeyframe, renderAnimationElements, renderBuiltinMarkerDefs, renderCircle, renderClipMaskDefinitionAnimationElements, renderClipMaskDefinitionShape, renderDefinitionAnimationElements, renderDescriptiveElements, renderDocumentAnimationElements, renderDocumentExtensionAttributes, renderDocumentExtensionNodes, renderDocumentExtensions, renderDocumentScripts, renderDocumentStyles, renderEllipse, renderFilterDefs, renderFilterElement, renderFilterLibraryDef, renderFilterPrimitive, renderFilterPrimitivesForType, renderFlowchartBox, renderForeignObject, renderGradientDefs, renderGradientStopAnimationElement, renderImage, renderLibraryDef, renderLibraryDefs, renderLine, renderLinearGradient, renderLinearGradientLibraryDef, renderMarkerLibraryDef, renderPaintServerDefs, renderPatternLibraryDef, renderPlanDefsBody, renderPolygonShape, renderPolyline, renderRadialGradient, renderRadialGradientLibraryDef, renderRectangle, renderReferencedLibraryDefs, renderResolvedSymbolDefinitionForest, renderResolvedSymbolDefinitionSubtree, renderResolvedSymbolLibraryDef, renderShape, renderShapeContextForLibrary, renderSpline, renderSvgPrimitiveChainFilter, renderSymbolInstance, renderSymbolLibraryDef, renderTemplateVariablesStyle, renderText, renderTextSpanAnimationElements, renderToSvg, renderToSvgWithDiagnostics, replaceClipMaskDefinition, replaceClipMaskGroupsInSceneTree, replaySceneTreePlacements, requiredDecimalPrecision, requiredSubsetsForText, resolveAppearanceStyle, resolveConnectorAnchorFromDocument, resolveConnectorEndpoints, resolveContainerTransform, resolveContainerTransformFromContentBounds, resolveCssAnimationEasingType, resolveEmbeddedSvgTransform, resolveEmbeddedSvgViewportFrameBounds, resolveFontStyle, resolveFontWeight, resolveGradientLibraryDef, resolveInlineContainerTransform, resolveMetadataQName, resolvePasteWrapperViewportSize, resolvePathDAtTime, resolvePatternLibraryDef, resolveRichTextStyleAt, resolveRootViewportFraming, resolveShapeGeometry, resolveShapeLocalObjectBounds, resolveShapeObjectBounds, resolveShapeReferenceTransform, resolveStyledTextLines, resolveSvgGradientGeometry, resolveSvgLengthToken, resolveSvgPatternTile, resolveSvgQName, resolveSvgRectRadii, resolveSvgTextSpanTarget, resolveSvgViewport, resolveSymbolDefinitionForestRootIds, resolveSymbolInstanceContent, resolveSymbolInstanceShapes, resolveSymbolInstanceTransform, resolveSymbolViewport, resolveTextSpanProjection, rewriteDocumentEmbeddedPayloads, rewriteIdReferencesInMarkup, rewriteShapeStateEmbeddedPayloads, rewriteSvgResourceReferenceValue, richTextFontVariantCss, richTextLineSpans, richTextRunsFromState, richTextStyleDelta, richTextStyleDeltasEqual, richTextStylesEqual, richTextTspanAttributes, rootMetadataAttrs, rootPaintServerDefId, rotateAffine, roundCoord, roundMarkupCoordinates, roundNumberString, roundSerializedShape, roundSnapshot, routeConnector, runsFromSegments, sameSize, sampleAnimationTrackTime, sampleTextForSubsets, sanitizeRichTextFormatRanges, sanitizeXmlId, scaleAffine, scanCssFunctionTokens, scanCssLocalUrlTokens, senderCorrectionsForOp, serializeSvgPathData, serializedPathNodeGeometry, serializedPresentationReader, severity, shapeAppearanceLayers, shapeAppearanceStyle, shapeLocalObjectBounds, shapeLocalObjectCenter, shapeNeedsAppearanceExpansion, shapeObjectBoundsInSpace, shouldRoundSvgCoordinateAttribute, skewXAffine, skewYAffine, smilKeyframeAttributes, snapshotBoundsView, sniffDocumentBytes, solveCubicBezier, solveSudoku, spliceTextSpanTree, splinePathBounds, splitAppearanceForStyle, splitCssAnimationList, splitCssTopLevel, splitCssTopLevelRanges, splitTopLevelElements, srgbToLab, ssimPlane, stringifyDocument, stripAnimationDeclarations, stripCssAnimationInlineStyle, subsetsForCodePoint, substituteString, substituteVariables, symbolDefinitionSemanticHash, symbolInstanceTargetId, synthesizeCssAnimationShorthand, templateVariablesCss, textSpanEffectiveRotations, textSpanIds, textSpanNodeById, textSpanRangeByIds, transformSplice, transformSvgPathData, translateAffine, translateSvgPathData, tryParseSvgTransformList, unmatchedDecorationDiagnostics, upsertResourceById, upsertResourceByKey, upsertResourceByName, upsertTrackKeyframe, validateDocumentOperations, validateOperation, validatePresenceOperation, validateSnapshot, validateSudokuPuzzle, verticesToPath, visitShapeTree, visitSnapshotShapeTrees, writeAppearanceLayers };
|