modern-idoc 0.10.21 → 0.11.1

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 CHANGED
@@ -224,6 +224,15 @@ interface NormalizedColorFill {
224
224
  declare const colorFillFields: (keyof NormalizedColorFill)[];
225
225
  declare function normalizeColorFill(fill: ColorFill): NormalizedColorFill;
226
226
 
227
+ type None = undefined | null | 'none';
228
+ type WithNone<T> = T | None;
229
+ type WithStyleNone<T> = T | 'none';
230
+ type LineCap = 'butt' | 'round' | 'square';
231
+ type LineJoin = 'miter' | 'round' | 'bevel';
232
+ interface Toggleable {
233
+ enabled: boolean;
234
+ }
235
+
227
236
  type GradientFillObject = {
228
237
  image?: string;
229
238
  } & Partial<NormalizedGradientFill>;
@@ -281,12 +290,6 @@ interface NormalizedImageFill extends ImageFillObject {
281
290
  declare const imageFillFiedls: (keyof NormalizedImageFill)[];
282
291
  declare function normalizeImageFill(fill: ImageFill): NormalizedImageFill;
283
292
 
284
- type None = undefined | null | 'none';
285
- type WithNone<T> = T | None;
286
- type WithStyleNone<T> = T | 'none';
287
- type LineCap = 'butt' | 'round' | 'square';
288
- type LineJoin = 'miter' | 'round' | 'bevel';
289
-
290
293
  interface PresetFillObject {
291
294
  preset: string;
292
295
  foregroundColor?: WithNone<Color>;
@@ -300,13 +303,9 @@ interface NormalizedPresetFill extends PresetFillObject {
300
303
  declare const presetFillFiedls: (keyof NormalizedPresetFill)[];
301
304
  declare function normalizePresetFill(fill: PresetFill): NormalizedPresetFill;
302
305
 
303
- type FillObject = {
304
- enabled?: boolean;
305
- } & Partial<ColorFillObject> & Partial<GradientFillObject> & Partial<ImageFillObject> & Partial<PresetFillObject>;
306
+ type FillObject = Partial<Toggleable> & Partial<ColorFillObject> & Partial<GradientFillObject> & Partial<ImageFillObject> & Partial<PresetFillObject>;
306
307
  type Fill = string | FillObject;
307
- type NormalizedFill = {
308
- enabled?: boolean;
309
- } & Partial<NormalizedColorFill> & Partial<NormalizedGradientFill> & Partial<NormalizedImageFill> & Partial<NormalizedPresetFill>;
308
+ type NormalizedFill = Toggleable & Partial<NormalizedColorFill> & Partial<NormalizedGradientFill> & Partial<NormalizedImageFill> & Partial<NormalizedPresetFill>;
310
309
  declare function isColorFillObject(fill: FillObject): fill is ColorFillObject;
311
310
  declare function isColorFill(fill: Fill): fill is ColorFill;
312
311
  declare function isGradientFillObject(fill: FillObject): fill is GradientFillObject;
@@ -323,8 +322,18 @@ interface NormalizedBaseBackground {
323
322
  type NormalizedBackground = NormalizedFill & NormalizedBaseBackground;
324
323
  type BackgroundObject = FillObject & Partial<NormalizedBaseBackground>;
325
324
  type Background = string | BackgroundObject;
325
+
326
326
  declare function normalizeBackground(background: Background): NormalizedBackground;
327
327
 
328
+ type BackgroundSize = 'contain' | 'cover' | string | 'stretch' | 'rigid';
329
+ interface NormalizedBackgroundStyle {
330
+ backgroundImage: WithStyleNone<string>;
331
+ backgroundSize: BackgroundSize;
332
+ backgroundColor: WithStyleNone<NormalizedColor>;
333
+ backgroundColormap: WithStyleNone<Record<string, string>>;
334
+ }
335
+ declare function getDefaultBackgroundStyle(): NormalizedBackgroundStyle;
336
+
328
337
  interface PropertyDeclaration {
329
338
  [key: string]: unknown;
330
339
  default?: unknown | (() => unknown);
@@ -350,82 +359,19 @@ declare function defineProperty<V, T extends PropertyAccessor>(constructor: any,
350
359
  declare function property<V, T extends PropertyAccessor>(declaration?: Partial<PropertyDeclaration>): PropertyDecorator;
351
360
  declare function property2<V, T extends PropertyAccessor>(declaration?: Partial<PropertyDeclaration>): (_: ClassAccessorDecoratorTarget<T, V>, context: ClassAccessorDecoratorContext) => ClassAccessorDecoratorResult<T, V>;
352
361
 
353
- interface NormalizedInnerShadow {
354
- color: NormalizedColor;
355
- offsetX: number;
356
- offsetY: number;
357
- blurRadius: number;
358
- }
359
- type InnerShadowObject = Partial<NormalizedInnerShadow> & {
360
- color?: WithNone<Color>;
361
- };
362
- type InnerShadow = InnerShadowObject;
363
- declare function getDefaultInnerShadow(): NormalizedInnerShadow;
364
- declare function normalizeInnerShadow(shadow: InnerShadow): NormalizedInnerShadow;
365
-
366
- interface NormalizedBaseOuterShadow {
367
- scaleX: number;
368
- scaleY: number;
369
- }
370
- type NormalizedOuterShadow = NormalizedBaseOuterShadow & NormalizedInnerShadow;
371
- type OuterShadowObject = Partial<NormalizedBaseOuterShadow> & InnerShadowObject;
372
- type OuterShadow = OuterShadowObject;
373
- declare function getDefaultOuterShadow(): NormalizedOuterShadow;
374
- declare function normalizeOuterShadow(shadow: OuterShadow): NormalizedOuterShadow;
375
-
376
- interface NormalizedSoftEdge {
377
- radius: number;
378
- }
379
- type SoftEdge = NormalizedSoftEdge;
380
- declare function normalizeSoftEdge(softEdge: SoftEdge): NormalizedSoftEdge;
381
-
382
- interface NormalizedEffect {
383
- innerShadow?: NormalizedInnerShadow;
384
- outerShadow?: NormalizedOuterShadow;
385
- softEdge?: NormalizedSoftEdge;
386
- }
387
- interface EffectObject {
388
- innerShadow?: WithNone<InnerShadow>;
389
- outerShadow?: WithNone<OuterShadow>;
390
- softEdge?: WithNone<SoftEdge>;
391
- }
392
- type Effect = EffectObject;
393
- declare function normalizeEffect(effect: Effect): NormalizedEffect;
394
-
395
- interface NormalizedBaseForeground {
396
- fillWithShape?: boolean;
397
- }
398
- type NormalizedForeground = NormalizedBaseForeground & NormalizedFill;
399
- type ForegroundObject = Partial<NormalizedBaseForeground> & FillObject;
400
- type Foreground = string | ForegroundObject;
401
- declare function normalizeForeground(foreground: Foreground): NormalizedForeground | undefined;
402
-
403
- interface Meta {
404
- [key: string]: any;
405
- }
406
-
407
- interface Node<T = Meta> {
408
- name?: string;
409
- children?: Node[];
410
- meta?: T;
411
- }
412
-
413
362
  type LineEndType = 'oval' | 'stealth' | 'triangle' | 'arrow' | 'diamond';
414
363
  type LineEndSize = 'sm' | 'md' | 'lg';
415
-
416
- interface HeadEnd {
364
+ type OutlineStyle = 'dashed' | 'solid' | string;
365
+ interface TailEnd {
417
366
  type: LineEndType;
418
367
  width?: WithNone<LineEndSize>;
419
368
  height?: WithNone<LineEndSize>;
420
369
  }
421
-
422
- interface TailEnd {
370
+ interface HeadEnd {
423
371
  type: LineEndType;
424
372
  width?: WithNone<LineEndSize>;
425
373
  height?: WithNone<LineEndSize>;
426
374
  }
427
-
428
- type OutlineStyle = 'dashed' | 'solid' | string;
429
375
  interface NormalizedBaseOutline {
430
376
  width?: number;
431
377
  style?: OutlineStyle;
@@ -434,23 +380,34 @@ interface NormalizedBaseOutline {
434
380
  headEnd?: HeadEnd;
435
381
  tailEnd?: TailEnd;
436
382
  }
437
- type NormalizedOutline = NormalizedFill & NormalizedBaseOutline;
438
383
  type OutlineObject = FillObject & Partial<NormalizedBaseOutline>;
384
+ type NormalizedOutline = NormalizedFill & NormalizedBaseOutline;
439
385
  type Outline = string | OutlineObject;
386
+
440
387
  declare function normalizeOutline(outline: Outline): NormalizedOutline;
441
388
 
389
+ interface NormalizedOutlineStyle {
390
+ outlineWidth: number;
391
+ outlineOffset: number;
392
+ outlineColor: WithStyleNone<NormalizedColor>;
393
+ outlineStyle: string;
394
+ }
395
+ declare function getDefaultOutlineStyle(): NormalizedOutlineStyle;
396
+
442
397
  type BoxShadow = string;
443
- interface NormalizedShadow {
398
+ type Shadow = BoxShadow | ShadowObject;
399
+ type ShadowObject = Partial<Toggleable> & Partial<NormalizedShadow> & {
400
+ color?: WithNone<Color>;
401
+ };
402
+ interface NormalizedShadow extends Toggleable {
444
403
  color: NormalizedColor;
445
404
  offsetX?: number;
446
405
  offsetY?: number;
447
406
  blur?: number;
448
407
  }
449
- type ShadowObject = Partial<NormalizedShadow> & {
450
- color?: WithNone<Color>;
451
- };
452
- type Shadow = BoxShadow | ShadowObject;
408
+
453
409
  declare function normalizeShadow(shadow: Shadow): NormalizedShadow;
410
+
454
411
  interface NormalizedShadowStyle {
455
412
  boxShadow: BoxShadow;
456
413
  shadowColor?: NormalizedColor;
@@ -460,6 +417,59 @@ interface NormalizedShadowStyle {
460
417
  }
461
418
  declare function getDefaultShadowStyle(): NormalizedShadowStyle;
462
419
 
420
+ interface _EffectV0 {
421
+ transformOrigin?: string;
422
+ rotate?: number;
423
+ scaleX?: number;
424
+ scaleY?: number;
425
+ skewX?: number;
426
+ skewY?: number;
427
+ translateX?: number;
428
+ translateY?: number;
429
+ shadowOffsetX?: number;
430
+ shadowOffsetY?: number;
431
+ shadowBlur?: number;
432
+ shadowColor?: string;
433
+ textStrokeWidth?: number;
434
+ textStrokeColor?: string;
435
+ color?: string;
436
+ }
437
+ interface Effect {
438
+ fill?: WithNone<Fill>;
439
+ outline?: WithNone<Outline>;
440
+ shadow?: WithNone<Shadow>;
441
+ transform?: WithStyleNone<string>;
442
+ transformOrigin?: string;
443
+ }
444
+ interface NormalizedEffect {
445
+ fill?: NormalizedFill;
446
+ outline?: NormalizedOutline;
447
+ shadow?: NormalizedShadow;
448
+ transform?: string;
449
+ transformOrigin?: string;
450
+ }
451
+ declare const effectFields: (keyof Effect)[];
452
+ declare function normalizeEffect(effect: _EffectV0 & Effect): NormalizedEffect;
453
+
454
+ interface NormalizedBaseForeground {
455
+ fillWithShape?: boolean;
456
+ }
457
+ type NormalizedForeground = NormalizedBaseForeground & NormalizedFill;
458
+ type ForegroundObject = Partial<NormalizedBaseForeground> & FillObject;
459
+ type Foreground = string | ForegroundObject;
460
+ declare function normalizeForeground(foreground: Foreground): NormalizedForeground | undefined;
461
+
462
+ interface Meta {
463
+ [key: string]: any;
464
+ }
465
+
466
+ interface Node<T = Meta> {
467
+ name?: string;
468
+ children?: Node[];
469
+ meta?: T;
470
+ }
471
+
472
+ type Shape = SVGPathData | SVGPathData[] | ShapePath[] | NormalizedShape;
463
473
  type SVGPathData = string;
464
474
  type FillRule = 'nonzero' | 'evenodd';
465
475
  type StrokeLinecap = 'butt' | 'round' | 'square';
@@ -487,13 +497,12 @@ interface ShapePathStyle {
487
497
  interface ShapePath extends Partial<ShapePathStyle> {
488
498
  data: SVGPathData;
489
499
  }
490
- interface NormalizedShape {
500
+ interface NormalizedShape extends Toggleable {
491
501
  preset?: string;
492
502
  viewBox?: number[];
493
503
  svg?: string;
494
504
  paths?: ShapePath[];
495
505
  }
496
- type Shape = SVGPathData | SVGPathData[] | ShapePath[] | NormalizedShape;
497
506
  declare function normalizeShape(shape: Shape): NormalizedShape;
498
507
 
499
508
  type StyleUnit = `${number}%` | number;
@@ -578,31 +587,15 @@ interface NormalizedLayoutStyle {
578
587
  declare function getDefaultLayoutStyle(): Partial<NormalizedLayoutStyle>;
579
588
 
580
589
  interface NormalizedTransformStyle {
581
- rotate: number;
582
- scaleX: number;
583
- scaleY: number;
584
- skewX: number;
585
- skewY: number;
586
- translateX: number;
587
- translateY: number;
588
590
  transform: WithStyleNone<string>;
589
591
  transformOrigin: string;
590
592
  }
591
593
  declare function getDefaultTransformStyle(): NormalizedTransformStyle;
592
594
 
593
- type BackgroundSize = 'contain' | 'cover' | string | 'stretch' | 'rigid';
594
- type NormalizedElementStyle = Partial<NormalizedLayoutStyle> & NormalizedTransformStyle & NormalizedShadowStyle & {
595
- backgroundImage: WithStyleNone<string>;
596
- backgroundSize: BackgroundSize;
597
- backgroundColor: WithStyleNone<NormalizedColor>;
598
- backgroundColormap: WithStyleNone<Record<string, string>>;
595
+ type NormalizedElementStyle = Partial<NormalizedLayoutStyle> & NormalizedTransformStyle & NormalizedShadowStyle & NormalizedOutlineStyle & NormalizedBackgroundStyle & {
599
596
  borderRadius: number;
600
597
  borderColor: WithStyleNone<NormalizedColor>;
601
598
  borderStyle: BorderStyle;
602
- outlineWidth: number;
603
- outlineOffset: number;
604
- outlineColor: WithStyleNone<NormalizedColor>;
605
- outlineStyle: string;
606
599
  visibility: Visibility;
607
600
  filter: string;
608
601
  opacity: number;
@@ -692,6 +685,7 @@ type Style = StyleObject;
692
685
  declare function normalizeStyle(style: Style): NormalizedStyle;
693
686
  declare function getDefaultStyle(): FullStyle;
694
687
 
688
+ type Text = string | FlatTextContent[] | TextObject;
695
689
  interface FragmentObject extends StyleObject {
696
690
  content: string;
697
691
  fill?: Fill;
@@ -715,27 +709,20 @@ interface NormalizedParagraph extends NormalizedStyle {
715
709
  type FlatTextContent = string | FragmentObject | ParagraphObject | (string | FragmentObject)[];
716
710
  type TextContent = FlatTextContent | FlatTextContent[];
717
711
  type NormalizedTextContent = NormalizedParagraph[];
718
- interface TextObject {
712
+ interface TextObject extends Pick<Effect, 'fill' | 'outline'>, Partial<Toggleable> {
719
713
  content?: TextContent;
720
- enabled?: boolean;
721
714
  style?: Style;
722
- effects?: Style[];
723
715
  measureDom?: any;
724
716
  fonts?: any;
725
- fill?: Fill;
726
- outline?: Outline;
717
+ effects?: Effect[];
727
718
  }
728
- interface NormalizedText {
719
+ interface NormalizedText extends Pick<NormalizedEffect, 'fill' | 'outline'>, Toggleable {
729
720
  content: NormalizedTextContent;
730
- enabled?: boolean;
731
721
  style?: NormalizedStyle;
732
- effects?: NormalizedStyle[];
722
+ effects?: Effect[];
733
723
  measureDom?: any;
734
724
  fonts?: any;
735
- fill?: NormalizedFill;
736
- outline?: NormalizedOutline;
737
725
  }
738
- type Text = string | FlatTextContent[] | TextObject;
739
726
  declare function hasCRLF(content: string): boolean;
740
727
  declare function isCRLF(char: string): boolean;
741
728
  declare function normalizeCRLF(content: string): string;
@@ -751,34 +738,26 @@ interface NormalizedVideo {
751
738
  type Video = string | NormalizedVideo;
752
739
  declare function normalizeVideo(video: Video): NormalizedVideo | undefined;
753
740
 
754
- interface Element<T = Meta> extends Omit<Node<T>, 'children'> {
741
+ interface Element<T = Meta> extends Effect, Omit<Node<T>, 'children'> {
755
742
  id?: string;
756
743
  style?: WithNone<Style>;
757
744
  text?: WithNone<Text>;
758
745
  background?: WithNone<Background>;
759
746
  shape?: WithNone<Shape>;
760
- fill?: WithNone<Fill>;
761
- outline?: WithNone<Outline>;
762
747
  foreground?: WithNone<Foreground>;
763
- shadow?: WithNone<Shadow>;
764
748
  video?: WithNone<Video>;
765
749
  audio?: WithNone<Audio>;
766
- effect?: WithNone<Effect>;
767
750
  children?: Element[];
768
751
  }
769
- interface NormalizedElement<T = Meta> extends Omit<Node<T>, 'children'> {
752
+ interface NormalizedElement<T = Meta> extends NormalizedEffect, Omit<Node<T>, 'children'> {
770
753
  id: string;
771
754
  style?: NormalizedStyle;
772
755
  text?: NormalizedText;
773
756
  background?: NormalizedBackground;
774
757
  shape?: NormalizedShape;
775
- fill?: NormalizedFill;
776
- outline?: NormalizedOutline;
777
758
  foreground?: NormalizedForeground;
778
- shadow?: NormalizedShadow;
779
759
  video?: NormalizedVideo;
780
760
  audio?: NormalizedAudio;
781
- effect?: NormalizedEffect;
782
761
  children?: NormalizedElement[];
783
762
  }
784
763
  declare function normalizeElement<T = Meta>(element: Element<T>): NormalizedElement<T>;
@@ -912,5 +891,5 @@ declare class Reactivable extends Observable implements PropertyAccessor {
912
891
  destroy(): void;
913
892
  }
914
893
 
915
- export { EventEmitter, Observable, RawWeakMap, Reactivable, clearUndef, colorFillFields, defaultColor, defineProperty, flatDocumentToDocument, getDeclarations, getDefaultElementStyle, getDefaultHighlightStyle, getDefaultInnerShadow, getDefaultLayoutStyle, getDefaultListStyleStyle, getDefaultOuterShadow, getDefaultShadowStyle, getDefaultStyle, getDefaultTextInlineStyle, getDefaultTextLineStyle, getDefaultTextStyle, getDefaultTransformStyle, getNestedValue, getObjectValueByPath, getPropertyDescriptor, gradientFillFields, hasCRLF, idGenerator, imageFillFiedls, isCRLF, isColor, isColorFill, isColorFillObject, isEqualObject, isFragmentObject, isGradient, isGradientFill, isGradientFillObject, isImageFill, isImageFillObject, isNone, isParagraphObject, isPresetFill, isPresetFillObject, nanoid, normalizeAudio, normalizeBackground, normalizeCRLF, normalizeColor, normalizeColorFill, normalizeDocument, normalizeEffect, normalizeElement, normalizeFill, normalizeFlatDocument, normalizeForeground, normalizeGradient, normalizeGradientFill, normalizeImageFill, normalizeInnerShadow, normalizeOuterShadow, normalizeOutline, normalizePresetFill, normalizeShadow, normalizeShape, normalizeSoftEdge, normalizeStyle, normalizeText, normalizeTextContent, normalizeVideo, parseColor, parseGradient, pick, presetFillFiedls, property, property2, propertyOffsetFallback, propertyOffsetGet, propertyOffsetSet, round, setNestedValue, setObjectValueByPath, stringifyGradient, textContentToString };
916
- export type { Align, AngularNode, Audio, Background, BackgroundObject, BackgroundSize, BorderStyle, BoxShadow, BoxSizing, CmykColor, CmykaColor, Color, ColorFill, ColorFillObject, ColorStop, ColorStopNode, DefaultRadialNode, Direction, DirectionalNode, Display, Document, Effect, EffectObject, Element, EmNode, EventListener, EventListenerOptions, EventListenerValue, ExtentKeywordNode, Fill, FillObject, FillRule, FlatDocument, FlatElement, FlatTextContent, FlexDirection, FlexWrap, FontKerning, FontStyle, FontWeight, Foreground, ForegroundObject, FragmentObject, FullStyle, GradientFill, GradientFillObject, GradientNode, HeadEnd, Hex8Color, HexNode, HighlightColormap, HighlightImage, HighlightLine, HighlightReferImage, HighlightSize, HighlightThickness, HslColor, HslaColor, HsvColor, HsvaColor, HwbColor, HwbaColor, IdGenerator, ImageFill, ImageFillCropRect, ImageFillObject, ImageFillStretchRect, ImageFillTile, InnerShadow, InnerShadowObject, Justify, LabColor, LabaColor, LchColor, LchaColor, LineCap, LineEndSize, LineEndType, LineJoin, LinearGradient, LinearGradientNode, LinearGradientWithType, ListStyleColormap, ListStyleImage, ListStylePosition, ListStyleSize, ListStyleType, LiteralNode, Meta, Node, None, NormalizedAudio, NormalizedBackground, NormalizedBaseBackground, NormalizedBaseForeground, NormalizedBaseOuterShadow, NormalizedBaseOutline, NormalizedColor, NormalizedColorFill, NormalizedDocument, NormalizedEffect, NormalizedElement, NormalizedElementStyle, NormalizedFill, NormalizedFlatDocument, NormalizedFlatElement, NormalizedForeground, NormalizedFragment, NormalizedGradientFill, NormalizedHighlight, NormalizedHighlightStyle, NormalizedImageFill, NormalizedInnerShadow, NormalizedLayoutStyle, NormalizedListStyle, NormalizedListStyleStyle, NormalizedOuterShadow, NormalizedOutline, NormalizedParagraph, NormalizedPresetFill, NormalizedShadow, NormalizedShadowStyle, NormalizedShape, NormalizedSoftEdge, NormalizedStyle, NormalizedText, NormalizedTextContent, NormalizedTextDrawStyle, NormalizedTextInlineStyle, NormalizedTextLineStyle, NormalizedTextStyle, NormalizedTransformStyle, NormalizedVideo, ObjectColor, ObservableEvents, OuterShadow, OuterShadowObject, Outline, OutlineObject, OutlineStyle, Overflow, ParagraphObject, PercentNode, PointerEvents, Position, PositionKeywordNode, PositionNode, PresetFill, PresetFillObject, PropertyAccessor, PropertyDeclaration, PxNode, RadialGradient, RadialGradientNode, RadialGradientWithType, ReactivableEvents, RepeatingLinearGradientNode, RepeatingRadialGradientNode, RgbColor, RgbNode, RgbaColor, RgbaNode, SVGPathData, Shadow, ShadowObject, Shape, ShapeNode, ShapePath, ShapePathStyle, SoftEdge, StrokeLinecap, StrokeLinejoin, Style, StyleObject, StyleUnit, TailEnd, Text, TextAlign, TextContent, TextDecoration, TextObject, TextOrientation, TextTransform, TextWrap, Uint32Color, VerticalAlign, Video, Visibility, WithNone, WithStyleNone, WritingMode, XyzColor, XyzaColor };
894
+ export { EventEmitter, Observable, RawWeakMap, Reactivable, clearUndef, colorFillFields, defaultColor, defineProperty, effectFields, flatDocumentToDocument, getDeclarations, getDefaultBackgroundStyle, getDefaultElementStyle, getDefaultHighlightStyle, getDefaultLayoutStyle, getDefaultListStyleStyle, getDefaultOutlineStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextInlineStyle, getDefaultTextLineStyle, getDefaultTextStyle, getDefaultTransformStyle, getNestedValue, getObjectValueByPath, getPropertyDescriptor, gradientFillFields, hasCRLF, idGenerator, imageFillFiedls, isCRLF, isColor, isColorFill, isColorFillObject, isEqualObject, isFragmentObject, isGradient, isGradientFill, isGradientFillObject, isImageFill, isImageFillObject, isNone, isParagraphObject, isPresetFill, isPresetFillObject, nanoid, normalizeAudio, normalizeBackground, normalizeCRLF, normalizeColor, normalizeColorFill, normalizeDocument, normalizeEffect, normalizeElement, normalizeFill, normalizeFlatDocument, normalizeForeground, normalizeGradient, normalizeGradientFill, normalizeImageFill, normalizeOutline, normalizePresetFill, normalizeShadow, normalizeShape, normalizeStyle, normalizeText, normalizeTextContent, normalizeVideo, parseColor, parseGradient, pick, presetFillFiedls, property, property2, propertyOffsetFallback, propertyOffsetGet, propertyOffsetSet, round, setNestedValue, setObjectValueByPath, stringifyGradient, textContentToString };
895
+ export type { Align, AngularNode, Audio, Background, BackgroundObject, BackgroundSize, BorderStyle, BoxShadow, BoxSizing, CmykColor, CmykaColor, Color, ColorFill, ColorFillObject, ColorStop, ColorStopNode, DefaultRadialNode, Direction, DirectionalNode, Display, Document, Effect, Element, EmNode, EventListener, EventListenerOptions, EventListenerValue, ExtentKeywordNode, Fill, FillObject, FillRule, FlatDocument, FlatElement, FlatTextContent, FlexDirection, FlexWrap, FontKerning, FontStyle, FontWeight, Foreground, ForegroundObject, FragmentObject, FullStyle, GradientFill, GradientFillObject, GradientNode, HeadEnd, Hex8Color, HexNode, HighlightColormap, HighlightImage, HighlightLine, HighlightReferImage, HighlightSize, HighlightThickness, HslColor, HslaColor, HsvColor, HsvaColor, HwbColor, HwbaColor, IdGenerator, ImageFill, ImageFillCropRect, ImageFillObject, ImageFillStretchRect, ImageFillTile, Justify, LabColor, LabaColor, LchColor, LchaColor, LineCap, LineEndSize, LineEndType, LineJoin, LinearGradient, LinearGradientNode, LinearGradientWithType, ListStyleColormap, ListStyleImage, ListStylePosition, ListStyleSize, ListStyleType, LiteralNode, Meta, Node, None, NormalizedAudio, NormalizedBackground, NormalizedBackgroundStyle, NormalizedBaseBackground, NormalizedBaseForeground, NormalizedBaseOutline, NormalizedColor, NormalizedColorFill, NormalizedDocument, NormalizedEffect, NormalizedElement, NormalizedElementStyle, NormalizedFill, NormalizedFlatDocument, NormalizedFlatElement, NormalizedForeground, NormalizedFragment, NormalizedGradientFill, NormalizedHighlight, NormalizedHighlightStyle, NormalizedImageFill, NormalizedLayoutStyle, NormalizedListStyle, NormalizedListStyleStyle, NormalizedOutline, NormalizedOutlineStyle, NormalizedParagraph, NormalizedPresetFill, NormalizedShadow, NormalizedShadowStyle, NormalizedShape, NormalizedStyle, NormalizedText, NormalizedTextContent, NormalizedTextDrawStyle, NormalizedTextInlineStyle, NormalizedTextLineStyle, NormalizedTextStyle, NormalizedTransformStyle, NormalizedVideo, ObjectColor, ObservableEvents, Outline, OutlineObject, OutlineStyle, Overflow, ParagraphObject, PercentNode, PointerEvents, Position, PositionKeywordNode, PositionNode, PresetFill, PresetFillObject, PropertyAccessor, PropertyDeclaration, PxNode, RadialGradient, RadialGradientNode, RadialGradientWithType, ReactivableEvents, RepeatingLinearGradientNode, RepeatingRadialGradientNode, RgbColor, RgbNode, RgbaColor, RgbaNode, SVGPathData, Shadow, ShadowObject, Shape, ShapeNode, ShapePath, ShapePathStyle, StrokeLinecap, StrokeLinejoin, Style, StyleObject, StyleUnit, TailEnd, Text, TextAlign, TextContent, TextDecoration, TextObject, TextOrientation, TextTransform, TextWrap, Toggleable, Uint32Color, VerticalAlign, Video, Visibility, WithNone, WithStyleNone, WritingMode, XyzColor, XyzaColor, _EffectV0 };