@wireweave/core 1.2.0 → 1.3.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.cts CHANGED
@@ -414,190 +414,6 @@ declare function isValidAst(ast: WireframeDocument): boolean;
414
414
  */
415
415
  declare function getValidationErrors(ast: WireframeDocument): ValidationError[];
416
416
 
417
- /**
418
- * UX Rules Type Definitions
419
- *
420
- * Types for UX validation rules engine.
421
- */
422
-
423
- /**
424
- * Severity level of UX issues
425
- */
426
- type UXIssueSeverity = 'error' | 'warning' | 'info';
427
- /**
428
- * Category of UX rule
429
- */
430
- type UXRuleCategory = 'accessibility' | 'usability' | 'consistency' | 'touch-target' | 'contrast' | 'navigation' | 'form' | 'feedback';
431
- /**
432
- * UX validation issue
433
- */
434
- interface UXIssue {
435
- /** Unique rule ID */
436
- ruleId: string;
437
- /** Rule category */
438
- category: UXRuleCategory;
439
- /** Issue severity */
440
- severity: UXIssueSeverity;
441
- /** Human-readable message */
442
- message: string;
443
- /** Detailed description of the issue */
444
- description: string;
445
- /** How to fix the issue */
446
- suggestion: string;
447
- /** Path to the problematic node */
448
- path: string;
449
- /** Node type where issue occurred */
450
- nodeType: string;
451
- /** Source location (if available) */
452
- location?: {
453
- line: number;
454
- column: number;
455
- };
456
- }
457
- /**
458
- * UX validation result
459
- */
460
- interface UXValidationResult {
461
- /** Whether all checks passed (no errors) */
462
- valid: boolean;
463
- /** Total score (0-100) */
464
- score: number;
465
- /** Issues found */
466
- issues: UXIssue[];
467
- /** Summary by category */
468
- summary: {
469
- category: UXRuleCategory;
470
- passed: number;
471
- failed: number;
472
- warnings: number;
473
- }[];
474
- /** Summary by severity */
475
- severityCounts: {
476
- errors: number;
477
- warnings: number;
478
- info: number;
479
- };
480
- }
481
- /**
482
- * UX rule definition
483
- */
484
- interface UXRule {
485
- /** Unique rule ID */
486
- id: string;
487
- /** Rule category */
488
- category: UXRuleCategory;
489
- /** Default severity */
490
- severity: UXIssueSeverity;
491
- /** Rule name */
492
- name: string;
493
- /** Rule description */
494
- description: string;
495
- /** Component types this rule applies to (empty = all) */
496
- appliesTo: string[];
497
- /** Check function */
498
- check: (node: AnyNode, context: UXRuleContext) => UXIssue | UXIssue[] | null;
499
- }
500
- /**
501
- * Context provided to rule check functions
502
- */
503
- interface UXRuleContext {
504
- /** Path to current node */
505
- path: string;
506
- /** Parent node (if any) */
507
- parent: AnyNode | null;
508
- /** Root document */
509
- root: AnyNode;
510
- /** All siblings of current node */
511
- siblings: AnyNode[];
512
- /** Index in parent's children */
513
- index: number;
514
- /** Depth in tree */
515
- depth: number;
516
- }
517
- /**
518
- * UX validation options
519
- */
520
- interface UXValidationOptions {
521
- /** Categories to check (empty = all) */
522
- categories?: UXRuleCategory[];
523
- /** Minimum severity to report */
524
- minSeverity?: UXIssueSeverity;
525
- /** Maximum issues to collect */
526
- maxIssues?: number;
527
- /** Custom rules to add */
528
- customRules?: UXRule[];
529
- /** Rules to disable by ID */
530
- disabledRules?: string[];
531
- }
532
-
533
- /**
534
- * UX Rules Index
535
- *
536
- * Exports all UX rules organized by category.
537
- */
538
-
539
- /**
540
- * All built-in UX rules
541
- */
542
- declare const allRules: UXRule[];
543
- /**
544
- * Rules organized by category
545
- */
546
- declare const rulesByCategory: {
547
- accessibility: UXRule[];
548
- form: UXRule[];
549
- 'touch-target': UXRule[];
550
- consistency: UXRule[];
551
- usability: UXRule[];
552
- navigation: UXRule[];
553
- };
554
- /**
555
- * Get rules for specific categories
556
- */
557
- declare function getRulesForCategories(categories: string[]): UXRule[];
558
-
559
- /**
560
- * UX Rules Validation Engine
561
- *
562
- * Validates wireframe AST against UX best practices.
563
- * Provides actionable feedback for improving user experience.
564
- */
565
-
566
- /**
567
- * Validate a wireframe document against UX rules
568
- *
569
- * @param ast - The parsed AST document
570
- * @param options - Validation options
571
- * @returns Validation result with issues and score
572
- */
573
- declare function validateUX(ast: WireframeDocument, options?: UXValidationOptions): UXValidationResult;
574
- /**
575
- * Quick UX validation - returns true if no errors
576
- *
577
- * @param ast - The parsed AST document
578
- * @returns true if no UX errors found
579
- */
580
- declare function isUXValid(ast: WireframeDocument): boolean;
581
- /**
582
- * Get UX issues from an AST
583
- *
584
- * @param ast - The parsed AST document
585
- * @param options - Validation options
586
- * @returns Array of UX issues
587
- */
588
- declare function getUXIssues(ast: WireframeDocument, options?: UXValidationOptions): UXIssue[];
589
- /**
590
- * Get UX score for a wireframe (0-100)
591
- *
592
- * @param ast - The parsed AST document
593
- * @returns UX score from 0 to 100
594
- */
595
- declare function getUXScore(ast: WireframeDocument): number;
596
- /**
597
- * Format UX validation result as human-readable string
598
- */
599
- declare function formatUXResult(result: UXValidationResult): string;
600
-
601
417
  /**
602
418
  * Diff Types
603
419
  *
@@ -1028,4 +844,4 @@ interface AnalysisOptions {
1028
844
  */
1029
845
  declare function analyze(doc: WireframeDocument, options?: AnalysisOptions): AnalysisResult;
1030
846
 
1031
- export { ATTRIBUTE_MAP, ATTRIBUTE_SPECS, type AccessibilityMetrics, AccordionNode, AlertNode, type AnalysisOptions, type AnalysisResult, AnyNode, type AttributeChange, type AttributeSpec, type AttributeValueType, AvatarNode, BadgeNode, BreadcrumbNode, ButtonNode, COMMON_ATTRIBUTES, COMPONENT_MAP, COMPONENT_SPECS, CardNode, CheckboxNode, ColNode, type ComplexityMetrics, type ComponentCategory, type ComponentSpec, type ComponentStats, ContainerComponentNode, ContainerNode, type ContentAnalysis, DEFAULT_VIEWPORT, DEVICE_PRESETS, DataNode, type DiffChangeType, type DiffOptions, type DiffResult, type DiffSummary, DisplayNode, DividerComponentNode, DrawerNode, DropdownNode, type ExportOptions, FeedbackNode, type FigmaExportResult, type FigmaNode, type FigmaNodeType, FooterNode, GridNode, HeaderNode, IconNode, ImageNode, InputComponentNode, InputNode, type JsonExportResult, type JsonNode, type LayoutAnalysis, LayoutNode, LeafNode, LinkNode, ListNode, MainNode, ModalNode, NODE_TYPE_MAP, NavNode, NavigationNode, type NodeChange, type NodePredicate, NodeType, OverlayNode, PageNode, PlaceholderNode, PopoverNode, type PreviewWrapperOptions, ProgressNode, RadioNode, RowNode, SectionNode, SelectNode, SidebarNode, SliderNode, SpinnerNode, SwitchNode, TableNode, TabsNode, TextContentNode, TextNode, TextareaNode, TitleNode, ToastNode, TooltipNode, type TreeMetrics, type UXIssue, type UXIssueSeverity, type UXRule, type UXRuleCategory, type UXRuleContext, type UXValidationOptions, type UXValidationResult, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, type ValidationError, type ValidationOptions, type ValidationResult, type ViewportSize, type WalkCallback, WireframeDocument, allRules, analyze, areIdentical, calculateViewportScale, cloneNode, contains, countNodes, diff, exportToFigma, exportToFigmaString, exportToJson, exportToJsonString, find, findAll, findByType, formatUXResult, getAncestors, getChangeSummary, getDevicePresets, getMaxDepth, getNodeTypes, getRulesForCategories, getUXIssues, getUXScore, getValidAttributes, getValidationErrors, hasChildren, importFromJson, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isContainerComponentNode, isContainerNode, isDataNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isUXValid, isValidAst, isValidAttribute, isValidDevicePreset, mapNodes, parseViewportString, resetFigmaIdCounter, resolveViewport, rulesByCategory, validate, validateUX, walk, walkDocument, wrapInPreviewContainer };
847
+ export { ATTRIBUTE_MAP, ATTRIBUTE_SPECS, type AccessibilityMetrics, AccordionNode, AlertNode, type AnalysisOptions, type AnalysisResult, AnyNode, type AttributeChange, type AttributeSpec, type AttributeValueType, AvatarNode, BadgeNode, BreadcrumbNode, ButtonNode, COMMON_ATTRIBUTES, COMPONENT_MAP, COMPONENT_SPECS, CardNode, CheckboxNode, ColNode, type ComplexityMetrics, type ComponentCategory, type ComponentSpec, type ComponentStats, ContainerComponentNode, ContainerNode, type ContentAnalysis, DEFAULT_VIEWPORT, DEVICE_PRESETS, DataNode, type DiffChangeType, type DiffOptions, type DiffResult, type DiffSummary, DisplayNode, DividerComponentNode, DrawerNode, DropdownNode, type ExportOptions, FeedbackNode, type FigmaExportResult, type FigmaNode, type FigmaNodeType, FooterNode, GridNode, HeaderNode, IconNode, ImageNode, InputComponentNode, InputNode, type JsonExportResult, type JsonNode, type LayoutAnalysis, LayoutNode, LeafNode, LinkNode, ListNode, MainNode, ModalNode, NODE_TYPE_MAP, NavNode, NavigationNode, type NodeChange, type NodePredicate, NodeType, OverlayNode, PageNode, PlaceholderNode, PopoverNode, type PreviewWrapperOptions, ProgressNode, RadioNode, RowNode, SectionNode, SelectNode, SidebarNode, SliderNode, SpinnerNode, SwitchNode, TableNode, TabsNode, TextContentNode, TextNode, TextareaNode, TitleNode, ToastNode, TooltipNode, type TreeMetrics, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, type ValidationError, type ValidationOptions, type ValidationResult, type ViewportSize, type WalkCallback, WireframeDocument, analyze, areIdentical, calculateViewportScale, cloneNode, contains, countNodes, diff, exportToFigma, exportToFigmaString, exportToJson, exportToJsonString, find, findAll, findByType, getAncestors, getChangeSummary, getDevicePresets, getMaxDepth, getNodeTypes, getValidAttributes, getValidationErrors, hasChildren, importFromJson, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isContainerComponentNode, isContainerNode, isDataNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isValidAst, isValidAttribute, isValidDevicePreset, mapNodes, parseViewportString, resetFigmaIdCounter, resolveViewport, validate, walk, walkDocument, wrapInPreviewContainer };
package/dist/index.d.ts CHANGED
@@ -414,190 +414,6 @@ declare function isValidAst(ast: WireframeDocument): boolean;
414
414
  */
415
415
  declare function getValidationErrors(ast: WireframeDocument): ValidationError[];
416
416
 
417
- /**
418
- * UX Rules Type Definitions
419
- *
420
- * Types for UX validation rules engine.
421
- */
422
-
423
- /**
424
- * Severity level of UX issues
425
- */
426
- type UXIssueSeverity = 'error' | 'warning' | 'info';
427
- /**
428
- * Category of UX rule
429
- */
430
- type UXRuleCategory = 'accessibility' | 'usability' | 'consistency' | 'touch-target' | 'contrast' | 'navigation' | 'form' | 'feedback';
431
- /**
432
- * UX validation issue
433
- */
434
- interface UXIssue {
435
- /** Unique rule ID */
436
- ruleId: string;
437
- /** Rule category */
438
- category: UXRuleCategory;
439
- /** Issue severity */
440
- severity: UXIssueSeverity;
441
- /** Human-readable message */
442
- message: string;
443
- /** Detailed description of the issue */
444
- description: string;
445
- /** How to fix the issue */
446
- suggestion: string;
447
- /** Path to the problematic node */
448
- path: string;
449
- /** Node type where issue occurred */
450
- nodeType: string;
451
- /** Source location (if available) */
452
- location?: {
453
- line: number;
454
- column: number;
455
- };
456
- }
457
- /**
458
- * UX validation result
459
- */
460
- interface UXValidationResult {
461
- /** Whether all checks passed (no errors) */
462
- valid: boolean;
463
- /** Total score (0-100) */
464
- score: number;
465
- /** Issues found */
466
- issues: UXIssue[];
467
- /** Summary by category */
468
- summary: {
469
- category: UXRuleCategory;
470
- passed: number;
471
- failed: number;
472
- warnings: number;
473
- }[];
474
- /** Summary by severity */
475
- severityCounts: {
476
- errors: number;
477
- warnings: number;
478
- info: number;
479
- };
480
- }
481
- /**
482
- * UX rule definition
483
- */
484
- interface UXRule {
485
- /** Unique rule ID */
486
- id: string;
487
- /** Rule category */
488
- category: UXRuleCategory;
489
- /** Default severity */
490
- severity: UXIssueSeverity;
491
- /** Rule name */
492
- name: string;
493
- /** Rule description */
494
- description: string;
495
- /** Component types this rule applies to (empty = all) */
496
- appliesTo: string[];
497
- /** Check function */
498
- check: (node: AnyNode, context: UXRuleContext) => UXIssue | UXIssue[] | null;
499
- }
500
- /**
501
- * Context provided to rule check functions
502
- */
503
- interface UXRuleContext {
504
- /** Path to current node */
505
- path: string;
506
- /** Parent node (if any) */
507
- parent: AnyNode | null;
508
- /** Root document */
509
- root: AnyNode;
510
- /** All siblings of current node */
511
- siblings: AnyNode[];
512
- /** Index in parent's children */
513
- index: number;
514
- /** Depth in tree */
515
- depth: number;
516
- }
517
- /**
518
- * UX validation options
519
- */
520
- interface UXValidationOptions {
521
- /** Categories to check (empty = all) */
522
- categories?: UXRuleCategory[];
523
- /** Minimum severity to report */
524
- minSeverity?: UXIssueSeverity;
525
- /** Maximum issues to collect */
526
- maxIssues?: number;
527
- /** Custom rules to add */
528
- customRules?: UXRule[];
529
- /** Rules to disable by ID */
530
- disabledRules?: string[];
531
- }
532
-
533
- /**
534
- * UX Rules Index
535
- *
536
- * Exports all UX rules organized by category.
537
- */
538
-
539
- /**
540
- * All built-in UX rules
541
- */
542
- declare const allRules: UXRule[];
543
- /**
544
- * Rules organized by category
545
- */
546
- declare const rulesByCategory: {
547
- accessibility: UXRule[];
548
- form: UXRule[];
549
- 'touch-target': UXRule[];
550
- consistency: UXRule[];
551
- usability: UXRule[];
552
- navigation: UXRule[];
553
- };
554
- /**
555
- * Get rules for specific categories
556
- */
557
- declare function getRulesForCategories(categories: string[]): UXRule[];
558
-
559
- /**
560
- * UX Rules Validation Engine
561
- *
562
- * Validates wireframe AST against UX best practices.
563
- * Provides actionable feedback for improving user experience.
564
- */
565
-
566
- /**
567
- * Validate a wireframe document against UX rules
568
- *
569
- * @param ast - The parsed AST document
570
- * @param options - Validation options
571
- * @returns Validation result with issues and score
572
- */
573
- declare function validateUX(ast: WireframeDocument, options?: UXValidationOptions): UXValidationResult;
574
- /**
575
- * Quick UX validation - returns true if no errors
576
- *
577
- * @param ast - The parsed AST document
578
- * @returns true if no UX errors found
579
- */
580
- declare function isUXValid(ast: WireframeDocument): boolean;
581
- /**
582
- * Get UX issues from an AST
583
- *
584
- * @param ast - The parsed AST document
585
- * @param options - Validation options
586
- * @returns Array of UX issues
587
- */
588
- declare function getUXIssues(ast: WireframeDocument, options?: UXValidationOptions): UXIssue[];
589
- /**
590
- * Get UX score for a wireframe (0-100)
591
- *
592
- * @param ast - The parsed AST document
593
- * @returns UX score from 0 to 100
594
- */
595
- declare function getUXScore(ast: WireframeDocument): number;
596
- /**
597
- * Format UX validation result as human-readable string
598
- */
599
- declare function formatUXResult(result: UXValidationResult): string;
600
-
601
417
  /**
602
418
  * Diff Types
603
419
  *
@@ -1028,4 +844,4 @@ interface AnalysisOptions {
1028
844
  */
1029
845
  declare function analyze(doc: WireframeDocument, options?: AnalysisOptions): AnalysisResult;
1030
846
 
1031
- export { ATTRIBUTE_MAP, ATTRIBUTE_SPECS, type AccessibilityMetrics, AccordionNode, AlertNode, type AnalysisOptions, type AnalysisResult, AnyNode, type AttributeChange, type AttributeSpec, type AttributeValueType, AvatarNode, BadgeNode, BreadcrumbNode, ButtonNode, COMMON_ATTRIBUTES, COMPONENT_MAP, COMPONENT_SPECS, CardNode, CheckboxNode, ColNode, type ComplexityMetrics, type ComponentCategory, type ComponentSpec, type ComponentStats, ContainerComponentNode, ContainerNode, type ContentAnalysis, DEFAULT_VIEWPORT, DEVICE_PRESETS, DataNode, type DiffChangeType, type DiffOptions, type DiffResult, type DiffSummary, DisplayNode, DividerComponentNode, DrawerNode, DropdownNode, type ExportOptions, FeedbackNode, type FigmaExportResult, type FigmaNode, type FigmaNodeType, FooterNode, GridNode, HeaderNode, IconNode, ImageNode, InputComponentNode, InputNode, type JsonExportResult, type JsonNode, type LayoutAnalysis, LayoutNode, LeafNode, LinkNode, ListNode, MainNode, ModalNode, NODE_TYPE_MAP, NavNode, NavigationNode, type NodeChange, type NodePredicate, NodeType, OverlayNode, PageNode, PlaceholderNode, PopoverNode, type PreviewWrapperOptions, ProgressNode, RadioNode, RowNode, SectionNode, SelectNode, SidebarNode, SliderNode, SpinnerNode, SwitchNode, TableNode, TabsNode, TextContentNode, TextNode, TextareaNode, TitleNode, ToastNode, TooltipNode, type TreeMetrics, type UXIssue, type UXIssueSeverity, type UXRule, type UXRuleCategory, type UXRuleContext, type UXValidationOptions, type UXValidationResult, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, type ValidationError, type ValidationOptions, type ValidationResult, type ViewportSize, type WalkCallback, WireframeDocument, allRules, analyze, areIdentical, calculateViewportScale, cloneNode, contains, countNodes, diff, exportToFigma, exportToFigmaString, exportToJson, exportToJsonString, find, findAll, findByType, formatUXResult, getAncestors, getChangeSummary, getDevicePresets, getMaxDepth, getNodeTypes, getRulesForCategories, getUXIssues, getUXScore, getValidAttributes, getValidationErrors, hasChildren, importFromJson, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isContainerComponentNode, isContainerNode, isDataNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isUXValid, isValidAst, isValidAttribute, isValidDevicePreset, mapNodes, parseViewportString, resetFigmaIdCounter, resolveViewport, rulesByCategory, validate, validateUX, walk, walkDocument, wrapInPreviewContainer };
847
+ export { ATTRIBUTE_MAP, ATTRIBUTE_SPECS, type AccessibilityMetrics, AccordionNode, AlertNode, type AnalysisOptions, type AnalysisResult, AnyNode, type AttributeChange, type AttributeSpec, type AttributeValueType, AvatarNode, BadgeNode, BreadcrumbNode, ButtonNode, COMMON_ATTRIBUTES, COMPONENT_MAP, COMPONENT_SPECS, CardNode, CheckboxNode, ColNode, type ComplexityMetrics, type ComponentCategory, type ComponentSpec, type ComponentStats, ContainerComponentNode, ContainerNode, type ContentAnalysis, DEFAULT_VIEWPORT, DEVICE_PRESETS, DataNode, type DiffChangeType, type DiffOptions, type DiffResult, type DiffSummary, DisplayNode, DividerComponentNode, DrawerNode, DropdownNode, type ExportOptions, FeedbackNode, type FigmaExportResult, type FigmaNode, type FigmaNodeType, FooterNode, GridNode, HeaderNode, IconNode, ImageNode, InputComponentNode, InputNode, type JsonExportResult, type JsonNode, type LayoutAnalysis, LayoutNode, LeafNode, LinkNode, ListNode, MainNode, ModalNode, NODE_TYPE_MAP, NavNode, NavigationNode, type NodeChange, type NodePredicate, NodeType, OverlayNode, PageNode, PlaceholderNode, PopoverNode, type PreviewWrapperOptions, ProgressNode, RadioNode, RowNode, SectionNode, SelectNode, SidebarNode, SliderNode, SpinnerNode, SwitchNode, TableNode, TabsNode, TextContentNode, TextNode, TextareaNode, TitleNode, ToastNode, TooltipNode, type TreeMetrics, VALID_ATTRIBUTE_NAMES, VALID_COMPONENT_NAMES, type ValidationError, type ValidationOptions, type ValidationResult, type ViewportSize, type WalkCallback, WireframeDocument, analyze, areIdentical, calculateViewportScale, cloneNode, contains, countNodes, diff, exportToFigma, exportToFigmaString, exportToJson, exportToJsonString, find, findAll, findByType, getAncestors, getChangeSummary, getDevicePresets, getMaxDepth, getNodeTypes, getValidAttributes, getValidationErrors, hasChildren, importFromJson, isAccordionNode, isAlertNode, isAvatarNode, isBadgeNode, isBreadcrumbNode, isButtonNode, isCardNode, isCheckboxNode, isColNode, isContainerComponentNode, isContainerNode, isDataNode, isDisplayNode, isDividerNode, isDrawerNode, isDropdownNode, isFeedbackNode, isFooterNode, isGridNode, isHeaderNode, isIconNode, isImageNode, isInputComponentNode, isInputNode, isLayoutNode, isLeafNode, isLinkNode, isListNode, isMainNode, isModalNode, isNavNode, isNavigationNode, isNodeType, isOverlayNode, isPageNode, isPlaceholderNode, isPopoverNode, isProgressNode, isRadioNode, isRowNode, isSectionNode, isSelectNode, isSidebarNode, isSliderNode, isSpinnerNode, isSwitchNode, isTableNode, isTabsNode, isTextContentNode, isTextNode, isTextareaNode, isTitleNode, isToastNode, isTooltipNode, isValidAst, isValidAttribute, isValidDevicePreset, mapNodes, parseViewportString, resetFigmaIdCounter, resolveViewport, validate, walk, walkDocument, wrapInPreviewContainer };