lucid-extension-sdk 0.0.173 → 0.0.175

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.
Files changed (66) hide show
  1. package/commandtypes.d.ts +233 -217
  2. package/commandtypes.js +1 -0
  3. package/core/cardintegration/cardfielddisplaysettings.d.ts +2 -2
  4. package/core/cardintegration/cardintegrationconfig.d.ts +1 -1
  5. package/core/cardintegration/cardintegrationdefinitions.d.ts +2 -2
  6. package/core/checks.d.ts +1 -1
  7. package/core/data/fieldspecification.d.ts +4 -4
  8. package/core/data/fieldtypedefinition/basefieldtypedefinition.d.ts +3 -3
  9. package/core/data/fieldtypedefinition/collectionenumfieldtype.d.ts +1 -1
  10. package/core/data/fieldtypedefinition/fieldtypearray.d.ts +3 -3
  11. package/core/data/fieldtypedefinition/fieldtypedefinition.d.ts +2 -2
  12. package/core/data/fieldtypedefinition/literalfieldtype.d.ts +1 -1
  13. package/core/data/fieldtypedefinition/ndimensionalfieldtypearray.d.ts +1 -1
  14. package/core/data/referencekeys/serializedreferencekey.d.ts +4 -4
  15. package/core/data/serializedfield/serializedfielddefinition.d.ts +2 -2
  16. package/core/data/serializedfield/serializedfields.d.ts +15 -15
  17. package/core/data/serializedfield/serializedschema.d.ts +2 -2
  18. package/core/guards.d.ts +3 -3
  19. package/core/jsonserializable.d.ts +2 -2
  20. package/core/linkimporter/linkimporter.d.ts +16 -0
  21. package/core/linkimporter/linkimporter.js +2 -0
  22. package/core/offsettype.d.ts +1 -1
  23. package/core/optionalkey.d.ts +4 -4
  24. package/core/properties/datagraphic/badgeposition.d.ts +1 -1
  25. package/core/properties/datagraphic/datagraphicindexes.d.ts +3 -3
  26. package/core/properties/datagraphic/staticdatagraphicsettings.d.ts +2 -2
  27. package/core/properties/fillcolor.d.ts +4 -4
  28. package/core/properties/shadow.d.ts +1 -1
  29. package/core/result.d.ts +1 -1
  30. package/core/rules/conditions.d.ts +1 -1
  31. package/core/rules/serializedcondition.d.ts +3 -3
  32. package/core/rules/serializeddatagraphic.d.ts +2 -2
  33. package/core/rules/serializedeffect.d.ts +3 -3
  34. package/core/rules/serializedstencilgraphic.d.ts +1 -1
  35. package/core/serializeddataerror.d.ts +1 -1
  36. package/core/spreadsheetintegration/lucidspreadsheetintegration.d.ts +1 -1
  37. package/core/validators/validators.d.ts +1 -1
  38. package/core/xhr.d.ts +1 -1
  39. package/data/referencekeydefinition.d.ts +1 -1
  40. package/data/schemadefinition.d.ts +1 -1
  41. package/dataconnector/actions/action.d.ts +3 -3
  42. package/dataconnector/actions/managewebhookresponsebody.d.ts +1 -1
  43. package/dataconnector/actions/patchresponsebody.d.ts +4 -4
  44. package/dataconnector/cryptodependencies.d.ts +1 -1
  45. package/dataconnector/dataconnector.d.ts +3 -3
  46. package/dataconnector/dataconnectorclient.d.ts +1 -1
  47. package/dataconnector/datasourcemetadatatypes.d.ts +1 -1
  48. package/dataconnector/datasourceupdatetypes.d.ts +4 -4
  49. package/dataconnector/debugserver.d.ts +3 -3
  50. package/dataconnector/defaultfetchfunction.d.ts +1 -1
  51. package/document/blockclasses/blockproxyregistry.d.ts +1 -1
  52. package/document/blockclasses/customblockproxy.d.ts +1 -1
  53. package/document/blockclasses/linkunfurlblockproxy.d.ts +1 -1
  54. package/document/documentproxy.js +3 -3
  55. package/document/elementproxy.js +20 -20
  56. package/document/linedefinition.d.ts +1 -1
  57. package/document/linetextareapositioning.d.ts +1 -1
  58. package/document/mapproxy.d.ts +1 -1
  59. package/document/ruledefinition.d.ts +2 -2
  60. package/editorclient.d.ts +8 -2
  61. package/editorclient.js +19 -5
  62. package/math.d.ts +2 -2
  63. package/package.json +1 -1
  64. package/ui/modal.d.ts +1 -1
  65. package/ui/panel.d.ts +1 -1
  66. package/ui/viewport.d.ts +1 -1
package/commandtypes.d.ts CHANGED
@@ -98,6 +98,7 @@ export declare const enum CommandName {
98
98
  OffsetItems = "oi",
99
99
  PatchDataItems = "pdi",
100
100
  Prompt = "p",
101
+ RegisterLinkImporter = "rli",
101
102
  RegisterPanel = "rp",
102
103
  RegisterUnfurl = "ru",
103
104
  ReloadExtension = "r",
@@ -136,7 +137,7 @@ export declare const commandTitles: Map<CommandName, string>;
136
137
  * return types from [EditorClient.sendCommand](#classes_editorclient-EditorClient_sendcommand) based on
137
138
  * which command name you pass in as the first parameter.
138
139
  */
139
- export declare type CommandArgs = {
140
+ export type CommandArgs = {
140
141
  [CommandName.AddCardIntegration]: {
141
142
  query: AddCardIntegrationQuery;
142
143
  result: AddCardIntegrationResult;
@@ -449,6 +450,10 @@ export declare type CommandArgs = {
449
450
  query: PromptQuery;
450
451
  result: PromptResult;
451
452
  };
453
+ [CommandName.RegisterLinkImporter]: {
454
+ query: RegisterLinkImporterQuery;
455
+ result: RegisterLinkImporterResult;
456
+ };
452
457
  [CommandName.RegisterPanel]: {
453
458
  query: RegisterPanelQuery;
454
459
  result: RegisterPanelResult;
@@ -570,7 +575,7 @@ export declare type CommandArgs = {
570
575
  result: ZOrderResult;
571
576
  };
572
577
  };
573
- export declare type AddCardIntegrationQuery = {
578
+ export type AddCardIntegrationQuery = {
574
579
  /** Title/name */
575
580
  'n': string;
576
581
  /** Data connector name */
@@ -615,8 +620,8 @@ export declare type AddCardIntegrationQuery = {
615
620
  'cc': string;
616
621
  } | undefined;
617
622
  };
618
- export declare type AddCardIntegrationResult = undefined;
619
- export declare type AddLineTextAreaQuery = {
623
+ export type AddCardIntegrationResult = undefined;
624
+ export type AddLineTextAreaQuery = {
620
625
  /** Which line */
621
626
  'id': string;
622
627
  /** Where to place the text along the line */
@@ -625,10 +630,10 @@ export declare type AddLineTextAreaQuery = {
625
630
  't': string;
626
631
  };
627
632
  /** The name of the created text area */
628
- export declare type AddLineTextAreaResult = string;
633
+ export type AddLineTextAreaResult = string;
629
634
  /** @ignore */
630
- export declare type UnionToIntersection<T> = (T extends any ? (x: T) => unknown : never) extends (x: infer R) => unknown ? R : never;
631
- export declare type AddMenuItemQuery = {
635
+ export type UnionToIntersection<T> = (T extends any ? (x: T) => unknown : never) extends (x: infer R) => unknown ? R : never;
636
+ export type AddMenuItemQuery = {
632
637
  /** Label to display on the menu item */
633
638
  'l': string;
634
639
  /** Named action to run when the menu item is clicked */
@@ -653,8 +658,8 @@ export declare type AddMenuItemQuery = {
653
658
  'b'?: boolean;
654
659
  } | undefined;
655
660
  };
656
- export declare type AddMenuItemResult = undefined;
657
- export declare type AddShapeDataQuery = {
661
+ export type AddMenuItemResult = undefined;
662
+ export type AddShapeDataQuery = {
658
663
  /** ID of the element to add this shape data to */
659
664
  'id'?: string | undefined;
660
665
  /** Name for this shape data */
@@ -664,9 +669,9 @@ export declare type AddShapeDataQuery = {
664
669
  /** Initial value of this shape data; use a string beginning with '=' for a formula */
665
670
  'v'?: SerializedFieldType;
666
671
  };
667
- export declare type AddShapeDataResult = undefined;
672
+ export type AddShapeDataResult = undefined;
668
673
  /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
669
- export declare type AddSpreadsheetIntegrationQuery = {
674
+ export type AddSpreadsheetIntegrationQuery = {
670
675
  /** labelDescription */
671
676
  'ld': string;
672
677
  /** labelIconUrl */
@@ -683,8 +688,8 @@ export declare type AddSpreadsheetIntegrationQuery = {
683
688
  'ic': string;
684
689
  };
685
690
  /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
686
- export declare type AddSpreadsheetIntegrationResult = undefined;
687
- export declare type AlertQuery = {
691
+ export type AddSpreadsheetIntegrationResult = undefined;
692
+ export type AlertQuery = {
688
693
  /** Title; defaults to extension title */
689
694
  't'?: string | undefined;
690
695
  /** Body text */
@@ -693,16 +698,16 @@ export declare type AlertQuery = {
693
698
  'bt'?: string | undefined;
694
699
  };
695
700
  /** True if they click OK, false otherwise */
696
- export declare type AlertResult = Promise<boolean>;
697
- export declare type AwaitDataSourceImportQuery = {
701
+ export type AlertResult = Promise<boolean>;
702
+ export type AwaitDataSourceImportQuery = {
698
703
  /** Data Connector Name */
699
704
  'n': string;
700
705
  /** Sync data source ID Nonce */
701
706
  's': string;
702
707
  };
703
708
  /** Promise resolving to the data source ID where the data arrived */
704
- export declare type AwaitDataSourceImportResult = Promise<string>;
705
- export declare type AwaitImportQuery = {
709
+ export type AwaitDataSourceImportResult = Promise<string>;
710
+ export type AwaitImportQuery = {
706
711
  /** Data Connector Name */
707
712
  'n': string;
708
713
  /** Sync data source ID Nonce */
@@ -715,8 +720,8 @@ export declare type AwaitImportQuery = {
715
720
  't': number;
716
721
  };
717
722
  /** Promise resolving to the collection ID where the data arrived */
718
- export declare type AwaitImportResult = Promise<string>;
719
- export declare type BootstrapQuery = {
723
+ export type AwaitImportResult = Promise<string>;
724
+ export type BootstrapQuery = {
720
725
  /**
721
726
  * Named action that accepts the bootstrap data, and which may return a Promise or void. After awaiting\
722
727
  * the result of the callback, the bootstrap data is cleared.
@@ -727,21 +732,21 @@ export declare type BootstrapQuery = {
727
732
  */
728
733
  'm'?: boolean | undefined;
729
734
  };
730
- export declare type BootstrapResult = Promise<void>;
735
+ export type BootstrapResult = Promise<void>;
731
736
  export declare enum HashAlgorithmEnum {
732
737
  /** Use the SHA 256 hashing algorithm */
733
738
  sha256 = "SHA256"
734
739
  }
735
- export declare type CalculateHashQuery = {
740
+ export type CalculateHashQuery = {
736
741
  'a': HashAlgorithmEnum;
737
742
  's': string;
738
743
  };
739
- export declare type CalculateHashResult = string;
740
- export declare type CanEditPackageSettingsQuery = undefined;
741
- export declare type CanEditPackageSettingsResult = Promise<boolean>;
742
- export declare type CancelDragBlockToCanvasQuery = void;
743
- export declare type CancelDragBlockToCanvasResult = undefined;
744
- export declare type ConfirmQuery = {
744
+ export type CalculateHashResult = string;
745
+ export type CanEditPackageSettingsQuery = undefined;
746
+ export type CanEditPackageSettingsResult = Promise<boolean>;
747
+ export type CancelDragBlockToCanvasQuery = void;
748
+ export type CancelDragBlockToCanvasResult = undefined;
749
+ export type ConfirmQuery = {
745
750
  /** Title; defaults to extension title */
746
751
  't'?: string | undefined;
747
752
  /** Body text */
@@ -752,8 +757,8 @@ export declare type ConfirmQuery = {
752
757
  'c'?: string | undefined;
753
758
  };
754
759
  /** True if they click OK, false otherwise */
755
- export declare type ConfirmResult = Promise<boolean>;
756
- export declare type CreateBlockQuery = {
760
+ export type ConfirmResult = Promise<boolean>;
761
+ export type CreateBlockQuery = {
757
762
  /**
758
763
  * By default, we add the block to the current page & currently active group. If specified, the
759
764
  * block will instead be created as a direct child of the given page.
@@ -764,14 +769,14 @@ export declare type CreateBlockQuery = {
764
769
  /** If specified, the stencil for a custom shape. Only valid if the class name is 'CustomBlock' */
765
770
  's'?: JsonSerializable | undefined;
766
771
  };
767
- export declare type CreateBlockResult = string;
768
- export declare type CreateCollectionFieldDefinition = {
772
+ export type CreateBlockResult = string;
773
+ export type CreateCollectionFieldDefinition = {
769
774
  /** Name of the field */
770
775
  'n': string;
771
776
  /** Type of the values in this field */
772
777
  't': SerializedFieldTypeDefinition;
773
778
  };
774
- export declare type CreateCollectionQuery = {
779
+ export type CreateCollectionQuery = {
775
780
  /** ID of the data source to add this collection to */
776
781
  's': string;
777
782
  /** Name of the collection */
@@ -782,8 +787,8 @@ export declare type CreateCollectionQuery = {
782
787
  'p': string[];
783
788
  'fl'?: Record<string, string> | undefined;
784
789
  };
785
- export declare type CreateCollectionResult = string;
786
- export declare type CreateDataSourceQuery = {
790
+ export type CreateCollectionResult = string;
791
+ export type CreateDataSourceQuery = {
787
792
  /** Name of the data source */
788
793
  'n': string;
789
794
  /** Source configuration for this data source--information about where it came from, or any metadata that might be useful */
@@ -791,36 +796,36 @@ export declare type CreateDataSourceQuery = {
791
796
  [key: string]: JsonSerializable;
792
797
  };
793
798
  };
794
- export declare type CreateDataSourceResult = string;
795
- export declare type CreateDocumentElementQuery = {
799
+ export type CreateDataSourceResult = string;
800
+ export type CreateDocumentElementQuery = {
796
801
  /** Type of element to create */
797
802
  't': DocumentElementType;
798
803
  /** Properties to set on that element */
799
804
  'p': Record<string, any>;
800
805
  };
801
- export declare type CreateDocumentElementResult = string | undefined;
802
- export declare type CreateLineQuery = {
806
+ export type CreateDocumentElementResult = string | undefined;
807
+ export type CreateLineQuery = {
803
808
  /**
804
809
  * By default, we add the line to the current page & currently active group. If specified, the
805
810
  * line will instead be created as a direct child of the given page.
806
811
  */
807
812
  'p'?: string | undefined;
808
813
  };
809
- export declare type CreateLineResult = string;
810
- export declare type CreatePageQuery = void;
811
- export declare type CreatePageResult = string;
812
- export declare type CreateUserImageQuery = {
814
+ export type CreateLineResult = string;
815
+ export type CreatePageQuery = void;
816
+ export type CreatePageResult = string;
817
+ export type CreateUserImageQuery = {
813
818
  /** media type */
814
819
  't': string;
815
820
  /** base64-encoded image data */
816
821
  'd': string;
817
822
  };
818
- export declare type RawCreateUserImageResult = {
823
+ export type RawCreateUserImageResult = {
819
824
  /** The resulting image URL */
820
825
  'u': string;
821
826
  };
822
- export declare type CreateUserImageResult = Promise<RawCreateUserImageResult>;
823
- export declare type DataActionQuery = {
827
+ export type CreateUserImageResult = Promise<RawCreateUserImageResult>;
828
+ export type DataActionQuery = {
824
829
  /** Flow Name */
825
830
  'fn': string;
826
831
  /** Is Async */
@@ -832,7 +837,7 @@ export declare type DataActionQuery = {
832
837
  /** Data Connector Name */
833
838
  'n': string;
834
839
  };
835
- export declare type RawDataActionResult = {
840
+ export type RawDataActionResult = {
836
841
  /** The external service responded with this code */
837
842
  'c': number;
838
843
  } & ({
@@ -842,28 +847,28 @@ export declare type RawDataActionResult = {
842
847
  /** Or this JSON */
843
848
  'j': unknown;
844
849
  });
845
- export declare type DataActionResult = Promise<RawDataActionResult>;
846
- export declare type DataItemExistsQuery = {
850
+ export type DataActionResult = Promise<RawDataActionResult>;
851
+ export type DataItemExistsQuery = {
847
852
  /** Collection ID to check */
848
853
  'c': string;
849
854
  /** Primary key to check */
850
855
  'pk': string;
851
856
  };
852
- export declare type DataItemExistsResult = boolean;
853
- export declare type DeleteDocumentElementQuery = string;
854
- export declare type DeleteDocumentElementResult = boolean;
855
- export declare type DeleteItemQuery = string;
856
- export declare type DeleteItemResult = boolean;
857
- export declare type DeletePageQuery = string;
858
- export declare type DeletePageResult = boolean;
859
- export declare type DeleteShapeDataQuery = {
857
+ export type DataItemExistsResult = boolean;
858
+ export type DeleteDocumentElementQuery = string;
859
+ export type DeleteDocumentElementResult = boolean;
860
+ export type DeleteItemQuery = string;
861
+ export type DeleteItemResult = boolean;
862
+ export type DeletePageQuery = string;
863
+ export type DeletePageResult = boolean;
864
+ export type DeleteShapeDataQuery = {
860
865
  /** ID of the element to delete this shape data from */
861
866
  'id'?: string | undefined;
862
867
  /** Name for this shape data */
863
868
  'n': string;
864
869
  };
865
- export declare type DeleteShapeDataResult = undefined;
866
- export declare type DownloadQuery = {
870
+ export type DeleteShapeDataResult = undefined;
871
+ export type DownloadQuery = {
867
872
  /** Filename of the download */
868
873
  'f': string;
869
874
  /** Data to put in the file */
@@ -873,50 +878,50 @@ export declare type DownloadQuery = {
873
878
  /** If true, data is base64-encoded and should be converted to binary for download */
874
879
  'b64': boolean;
875
880
  };
876
- export declare type DownloadResult = undefined;
877
- export declare type DragPointerMoveQuery = {
881
+ export type DownloadResult = undefined;
882
+ export type DragPointerMoveQuery = {
878
883
  'x': number;
879
884
  'y': number;
880
885
  };
881
- export declare type DragPointerMoveResult = undefined;
882
- export declare type DragPointerUpQuery = {
886
+ export type DragPointerMoveResult = undefined;
887
+ export type DragPointerUpQuery = {
883
888
  'x': number;
884
889
  'y': number;
885
890
  };
886
- export declare type DragPointerUpResult = undefined;
887
- export declare type ElementExistsQuery = {
891
+ export type DragPointerUpResult = undefined;
892
+ export type ElementExistsQuery = {
888
893
  'id'?: string | undefined;
889
894
  };
890
- export declare type ElementExistsResult = boolean;
891
- export declare type ExecuteFormulaQuery = {
895
+ export type ElementExistsResult = boolean;
896
+ export type ExecuteFormulaQuery = {
892
897
  /** ID of the element to execute a formula on */
893
898
  'id': string;
894
899
  /** Formula to execute, e.g. '@a + @b' or 'CONTAINEDBY' */
895
900
  'f': string;
896
901
  };
897
- export declare type ExecuteFormulaResult = SerializedFieldType | SerializedDataError;
898
- export declare type AnimateViewportQuery = {
902
+ export type ExecuteFormulaResult = SerializedFieldType | SerializedDataError;
903
+ export type AnimateViewportQuery = {
899
904
  /** ID of the page to view */
900
905
  'p': string;
901
906
  /** Bounding box on that page that will fill as much of the viewport as possible */
902
907
  'bb': Box;
903
908
  };
904
- export declare type AnimateViewportResult = Promise<void>;
905
- export declare type GetElementTypeQuery = {
909
+ export type AnimateViewportResult = Promise<void>;
910
+ export type GetElementTypeQuery = {
906
911
  'id'?: string | undefined;
907
912
  };
908
- export declare type GetElementTypeResult = 'block' | 'line' | 'group' | 'visual-activity' | 'page' | 'document' | 'generator' | 'panel';
909
- export declare type GetConnectedLinesQuery = string;
910
- export declare type GetConnectedLinesResult = string[];
911
- export declare type GetCurrentPageQuery = void;
912
- export declare type GetCurrentPageResult = string | undefined;
913
- export declare type GetCustomShapeQuery = {
913
+ export type GetElementTypeResult = 'block' | 'line' | 'group' | 'visual-activity' | 'page' | 'document' | 'generator' | 'panel';
914
+ export type GetConnectedLinesQuery = string;
915
+ export type GetConnectedLinesResult = string[];
916
+ export type GetCurrentPageQuery = void;
917
+ export type GetCurrentPageResult = string | undefined;
918
+ export type GetCustomShapeQuery = {
914
919
  /** Name of the custom shape library in this same extension package */
915
920
  'l': string;
916
921
  /** Name of the shape in that library to find */
917
922
  's': string;
918
923
  };
919
- export declare type GetCustomShapeResult = Promise<{
924
+ export type GetCustomShapeResult = Promise<{
920
925
  /** Value which can be used as the Stencil property on a dynamic shape */
921
926
  's': JsonSerializable;
922
927
  /** Default size (x:0, y:0) of this custom shape */
@@ -924,7 +929,7 @@ export declare type GetCustomShapeResult = Promise<{
924
929
  /** Other default property values */
925
930
  'p': JsonObject;
926
931
  } | undefined>;
927
- export declare type GetDataItemFieldQuery = {
932
+ export type GetDataItemFieldQuery = {
928
933
  /** Collection ID to query */
929
934
  'c': string;
930
935
  /** Primary key of the data item to read */
@@ -932,17 +937,17 @@ export declare type GetDataItemFieldQuery = {
932
937
  /** Name of field to read */
933
938
  'f': string;
934
939
  };
935
- export declare type GetDataItemFieldResult = SerializedFieldType;
936
- export declare type GetDocumentIdQuery = void;
937
- export declare type GetDocumentIdResult = string;
938
- export declare type GetItemPageIdQuery = string;
939
- export declare type GetItemPageIdResult = string;
940
+ export type GetDataItemFieldResult = SerializedFieldType;
941
+ export type GetDocumentIdQuery = void;
942
+ export type GetDocumentIdResult = string;
943
+ export type GetItemPageIdQuery = string;
944
+ export type GetItemPageIdResult = string;
940
945
  export declare enum GetItemsAtSearchType {
941
946
  PossiblyOverlapping = 0,
942
947
  Overlapping = 1,
943
948
  Contained = 2
944
949
  }
945
- export declare type GetItemsAtQuery = {
950
+ export type GetItemsAtQuery = {
946
951
  /** Page ID to search */
947
952
  'p': string;
948
953
  /** Bounding box to search */
@@ -951,155 +956,155 @@ export declare type GetItemsAtQuery = {
951
956
  's': GetItemsAtSearchType;
952
957
  };
953
958
  /** IDs of the items found */
954
- export declare type GetItemsAtResult = string[];
955
- export declare type GetReferenceKeyQuery = {
959
+ export type GetItemsAtResult = string[];
960
+ export type GetReferenceKeyQuery = {
956
961
  /** ID of the LucidElement to read a reference key from, or undefined to read from the LucidDocument */
957
962
  'id'?: string | undefined;
958
963
  /** Reference key to get */
959
964
  'k': number | string;
960
965
  };
961
- export declare type GetReferenceKeyResult = SerializedReferenceKeyType;
962
- export declare type GetProductQuery = undefined;
963
- export declare type GetProductResult = LucidProduct;
964
- export declare type GetPropertyQuery = {
966
+ export type GetReferenceKeyResult = SerializedReferenceKeyType;
967
+ export type GetProductQuery = undefined;
968
+ export type GetProductResult = LucidProduct;
969
+ export type GetPropertyQuery = {
965
970
  /** ID of the LucidElement to read a property from, or undefined to read from the LucidDocument */
966
971
  'id'?: string | undefined;
967
972
  /** Name of the property to read */
968
973
  'p': string;
969
974
  };
970
- export declare type GetPropertyResult = JsonSerializable;
971
- export declare type GetPackageSettingsQuery = undefined;
972
- export declare type GetPackageSettingsResult = Promise<Record<string, JsonSerializable>>;
973
- export declare type GetRelativeLinePositionQuery = {
975
+ export type GetPropertyResult = JsonSerializable;
976
+ export type GetPackageSettingsQuery = undefined;
977
+ export type GetPackageSettingsResult = Promise<Record<string, JsonSerializable>>;
978
+ export type GetRelativeLinePositionQuery = {
974
979
  /** Block or line ID to check the connections on */
975
980
  'id': string;
976
981
  /** Relative position in range of [0,1] along the line */
977
982
  'p': number;
978
983
  };
979
- export declare type GetRelativeLinePositionResult = Point;
980
- export declare type GetSelectionQuery = {
984
+ export type GetRelativeLinePositionResult = Point;
985
+ export type GetSelectionQuery = {
981
986
  /** If set, additionally return all items inside selected groups */
982
987
  'd'?: boolean | undefined;
983
988
  };
984
- export declare type GetSelectionResult = string[];
985
- export declare type GetShapeDataQuery = {
989
+ export type GetSelectionResult = string[];
990
+ export type GetShapeDataQuery = {
986
991
  /** ID of the element to query shape data from */
987
992
  'id'?: string | undefined;
988
993
  /** Name of the shape data to read */
989
994
  'n': string;
990
995
  };
991
- export declare type GetShapeDataResult = SerializedFieldType | SerializedDataError;
992
- export declare type GetTextStyleQuery = {
996
+ export type GetShapeDataResult = SerializedFieldType | SerializedDataError;
997
+ export type GetTextStyleQuery = {
993
998
  /** ID of the element to get text style from */
994
999
  'id': string;
995
1000
  /** Name of the text area to get text style from */
996
1001
  'n': string;
997
1002
  };
998
- export declare type GetTextStyleResult = TextStyle;
999
- export declare type GetUserIdQuery = void;
1000
- export declare type GetUserIdResult = string;
1001
- export declare type GetVisibleRectQuery = void;
1002
- export declare type GetVisibleRectResult = Box;
1003
- export declare type HideModalQuery = {
1003
+ export type GetTextStyleResult = TextStyle;
1004
+ export type GetUserIdQuery = void;
1005
+ export type GetUserIdResult = string;
1006
+ export type GetVisibleRectQuery = void;
1007
+ export type GetVisibleRectResult = Box;
1008
+ export type HideModalQuery = {
1004
1009
  /** Name of the modal's action for receiving events, i.e. ShowModalQuery['n'] */
1005
1010
  'n': string;
1006
1011
  };
1007
- export declare type HideModalResult = undefined;
1008
- export declare type HidePanelQuery = {
1012
+ export type HideModalResult = undefined;
1013
+ export type HidePanelQuery = {
1009
1014
  /** Name of the panel's action for receiving events, i.e. RegisterPanelQuery['n'] */
1010
1015
  'n': string;
1011
1016
  };
1012
- export declare type HidePanelResult = undefined;
1013
- export declare type HookAllChangesQuery = {
1017
+ export type HidePanelResult = undefined;
1018
+ export type HookAllChangesQuery = {
1014
1019
  /** Name of the action for receiving events. Will be called with no parameters periodically as changes are made to the document */
1015
1020
  'n': string;
1016
1021
  };
1017
- export declare type HookAllChangesResult = undefined;
1018
- export declare type HookCreateItemsQuery = {
1022
+ export type HookAllChangesResult = undefined;
1023
+ export type HookCreateItemsQuery = {
1019
1024
  /** Name of the action for receiving events. Will be called with an array of strings of all recently created item IDs. */
1020
1025
  'n': string;
1021
1026
  };
1022
- export declare type HookCreateItemsResult = undefined;
1023
- export declare type HookDeleteItemsQuery = {
1027
+ export type HookCreateItemsResult = undefined;
1028
+ export type HookDeleteItemsQuery = {
1024
1029
  /** Name of the action for receiving events. Will be called with an array of strings of all recently deleted item IDs. */
1025
1030
  'n': string;
1026
1031
  };
1027
- export declare type HookDeleteItemsResult = undefined;
1028
- export declare type HookSelectionQuery = {
1032
+ export type HookDeleteItemsResult = undefined;
1033
+ export type HookSelectionQuery = {
1029
1034
  /** Name of the action for receiving events. Will be called with an array of strings of all selected item IDs. */
1030
1035
  'n': string;
1031
1036
  };
1032
- export declare type HookSelectionResult = undefined;
1033
- export declare type HookTextEditQuery = {
1037
+ export type HookSelectionResult = undefined;
1038
+ export type HookTextEditQuery = {
1034
1039
  /** Name of the action for receiving these events */
1035
1040
  'n': string;
1036
1041
  };
1037
- export declare type HookTextEditResult = undefined;
1042
+ export type HookTextEditResult = undefined;
1038
1043
  /** Name of the card integration registered by this extension to show the import dialog for */
1039
- export declare type ImportCardsQuery = string;
1044
+ export type ImportCardsQuery = string;
1040
1045
  /** Resolves when the import dialog is closed */
1041
- export declare type ImportCardsResult = Promise<void>;
1042
- export declare type ImportPageQuery = {
1046
+ export type ImportCardsResult = Promise<void>;
1047
+ export type ImportPageQuery = {
1043
1048
  /** The ID of the document or template to import */
1044
1049
  'id': string;
1045
1050
  /** Page numbers of specified document or template to import (zero-indexed) */
1046
1051
  'n': number[];
1047
1052
  };
1048
1053
  /** Resolves when the import succeeds or fails */
1049
- export declare type ImportPageResult = Promise<void>;
1050
- export declare type KillExtensionQuery = void;
1051
- export declare type KillExtensionResult = undefined;
1052
- export declare type ListChildrenQuery = {
1054
+ export type ImportPageResult = Promise<void>;
1055
+ export type KillExtensionQuery = void;
1056
+ export type KillExtensionResult = undefined;
1057
+ export type ListChildrenQuery = {
1053
1058
  /** Parent ID to search inside */
1054
1059
  'id': string;
1055
1060
  /** "deep" - If true, get all children at any level of group nesting; otherwise only immediate children */
1056
1061
  'd'?: boolean;
1057
1062
  };
1058
- export declare type ListChildrenResult = string[];
1059
- export declare type ListCollectionsQuery = {
1063
+ export type ListChildrenResult = string[];
1064
+ export type ListCollectionsQuery = {
1060
1065
  /** ID of the data source to list collections for */
1061
1066
  'id': string;
1062
1067
  };
1063
- export declare type ListCollectionsResult = string[];
1064
- export declare type ListDataItemsQuery = {
1068
+ export type ListCollectionsResult = string[];
1069
+ export type ListDataItemsQuery = {
1065
1070
  /** Collection ID to list items from */
1066
1071
  'id': string;
1067
1072
  };
1068
- export declare type ListDataItemsResult = string[];
1069
- export declare type ListCollectionFieldsQuery = {
1073
+ export type ListDataItemsResult = string[];
1074
+ export type ListCollectionFieldsQuery = {
1070
1075
  /** Collection ID to query */
1071
1076
  'id': string;
1072
1077
  };
1073
- export declare type ListCollectionFieldsResult = string[];
1074
- export declare type ListDataSourcesQuery = undefined;
1075
- export declare type ListDataSourcesResult = string[];
1076
- export declare type ListDocumentElementsQuery = {
1078
+ export type ListCollectionFieldsResult = string[];
1079
+ export type ListDataSourcesQuery = undefined;
1080
+ export type ListDataSourcesResult = string[];
1081
+ export type ListDocumentElementsQuery = {
1077
1082
  't': DocumentElementType;
1078
1083
  };
1079
- export declare type ListDocumentElementsResult = string[];
1080
- export declare type ListPagesQuery = void;
1081
- export declare type ListPagesResult = string[];
1082
- export declare type ListReferenceKeysQuery = {
1084
+ export type ListDocumentElementsResult = string[];
1085
+ export type ListPagesQuery = void;
1086
+ export type ListPagesResult = string[];
1087
+ export type ListReferenceKeysQuery = {
1083
1088
  /** ID of the element to list reference keys for, or undefined for the document */
1084
1089
  'id'?: string | undefined;
1085
1090
  };
1086
1091
  /** Reference key IDs */
1087
- export declare type ListReferenceKeysResult = (string | number)[];
1088
- export declare type ListPropertiesQuery = {
1092
+ export type ListReferenceKeysResult = (string | number)[];
1093
+ export type ListPropertiesQuery = {
1089
1094
  'id'?: string | undefined;
1090
1095
  };
1091
- export declare type ListPropertiesResult = string[];
1092
- export declare type ListShapeDataQuery = {
1096
+ export type ListPropertiesResult = string[];
1097
+ export type ListShapeDataQuery = {
1093
1098
  'id'?: string | undefined;
1094
1099
  /** True to include inherited shape data from containing groups and/or page */
1095
1100
  'i'?: boolean | undefined;
1096
1101
  };
1097
- export declare type ListShapeDataResult = string[];
1098
- export declare type ListTextAreasQuery = string;
1099
- export declare type ListTextAreasResult = string[];
1100
- export declare type LoadBlockClassesQuery = string[];
1101
- export declare type LoadBlockClassesResult = Promise<undefined>;
1102
- export declare type OffsetItemsQuery = {
1102
+ export type ListShapeDataResult = string[];
1103
+ export type ListTextAreasQuery = string;
1104
+ export type ListTextAreasResult = string[];
1105
+ export type LoadBlockClassesQuery = string[];
1106
+ export type LoadBlockClassesResult = Promise<undefined>;
1107
+ export type OffsetItemsQuery = {
1103
1108
  /** IDs of the items (blocks, lines, groups) to move */
1104
1109
  'ids': string[];
1105
1110
  /** What kind of offset to perform */
@@ -1107,8 +1112,8 @@ export declare type OffsetItemsQuery = {
1107
1112
  /** How far to offset */
1108
1113
  'o': Point;
1109
1114
  };
1110
- export declare type OffsetItemsResult = undefined;
1111
- export declare type PatchDataItemsQuery = {
1115
+ export type OffsetItemsResult = undefined;
1116
+ export type PatchDataItemsQuery = {
1112
1117
  /** ID of the data collection to patch */
1113
1118
  'id': string;
1114
1119
  /** Data items to add to the collection */
@@ -1119,15 +1124,26 @@ export declare type PatchDataItemsQuery = {
1119
1124
  'd': string[];
1120
1125
  };
1121
1126
  /** Primary keys inserted, if any */
1122
- export declare type PatchDataItemsResult = string[];
1123
- export declare type PromptQuery = {
1127
+ export type PatchDataItemsResult = string[];
1128
+ export type PromptQuery = {
1124
1129
  /** Title; defaults to extension title */
1125
1130
  't'?: string | undefined;
1126
1131
  /** Body text */
1127
1132
  'b': string;
1128
1133
  };
1129
- export declare type PromptResult = Promise<string | undefined>;
1130
- export declare type RegisterPanelQuery = {
1134
+ export type PromptResult = Promise<string | undefined>;
1135
+ export type RegisterLinkImporterQuery = {
1136
+ /** ID of the link importer*/
1137
+ 'id': string;
1138
+ /** Action to call to get links for bulk import */
1139
+ 'a': string;
1140
+ /** Label for the menu item */
1141
+ 'l': string;
1142
+ /** Icon URL of the menu item, preferably a base64-encoded URL */
1143
+ 'i': string;
1144
+ };
1145
+ export type RegisterLinkImporterResult = void;
1146
+ export type RegisterPanelQuery = {
1131
1147
  /** Name of the panel's action for receiving events; generated automatically by Panel base class */
1132
1148
  'n': string;
1133
1149
  /** Title to show on the panel */
@@ -1147,41 +1163,41 @@ export declare type RegisterPanelQuery = {
1147
1163
  /** If true, we will persist the panel's iframe */
1148
1164
  'p'?: boolean;
1149
1165
  };
1150
- export declare type RegisterPanelResult = undefined;
1151
- export declare type RegisterUnfurlQuery = {
1166
+ export type RegisterPanelResult = undefined;
1167
+ export type RegisterUnfurlQuery = {
1152
1168
  /** Domain to unfurl, e.g. www.google.com */
1153
1169
  'd': string;
1154
1170
  /** Action to call to configure the unfurl */
1155
1171
  'a': string;
1156
1172
  };
1157
- export declare type RegisterUnfurlResult = boolean;
1158
- export declare type ReloadExtensionQuery = void;
1159
- export declare type ReloadExtensionResult = undefined;
1160
- export declare type SendOAuthRequestQuery = SendXHRQuery & {
1173
+ export type RegisterUnfurlResult = boolean;
1174
+ export type ReloadExtensionQuery = void;
1175
+ export type ReloadExtensionResult = undefined;
1176
+ export type SendOAuthRequestQuery = SendXHRQuery & {
1161
1177
  /** OAuth provider name as specified in the package manifest */
1162
1178
  'p': string;
1163
1179
  /** Post Result To */
1164
1180
  'prt'?: string | undefined;
1165
1181
  };
1166
- export declare type SendAsyncOAuthRequestQuery = SendXHRQuery & {
1182
+ export type SendAsyncOAuthRequestQuery = SendXHRQuery & {
1167
1183
  /** OAuth provider name as specified in the package manifest */
1168
1184
  'p': string;
1169
1185
  };
1170
- export declare type SendPermanentTokenRequestQuery = SendXHRQuery & {
1186
+ export type SendPermanentTokenRequestQuery = SendXHRQuery & {
1171
1187
  /** Permanent token provider name as specified in the package manifest */
1172
1188
  'p': string;
1173
1189
  };
1174
- export declare type SendOAuthRequestResponse = SendXHRResponse;
1175
- export declare type SendPermanentTokenRequestResponse = SendXHRResponse;
1176
- export declare type SendUIMessageQuery = {
1190
+ export type SendOAuthRequestResponse = SendXHRResponse;
1191
+ export type SendPermanentTokenRequestResponse = SendXHRResponse;
1192
+ export type SendUIMessageQuery = {
1177
1193
  /** Name of the UI component's action for receiving events, e.g. ShowModalQuery['n'] */
1178
1194
  'n': string;
1179
1195
  /** Content of the message to send to the custom UI component */
1180
1196
  'd'?: JsonSerializable;
1181
1197
  };
1182
- export declare type SendUIMessageResult = undefined;
1183
- export declare type SendXHRResponseFormat = 'utf8' | 'binary';
1184
- export declare type SendXHRQuery = {
1198
+ export type SendUIMessageResult = undefined;
1199
+ export type SendXHRResponseFormat = 'utf8' | 'binary';
1200
+ export type SendXHRQuery = {
1185
1201
  'url': string;
1186
1202
  /** HTTP method, e.g. 'GET', 'FETCH', etc. Defaults to GET */
1187
1203
  'm'?: string | undefined;
@@ -1208,7 +1224,7 @@ export declare type SendXHRQuery = {
1208
1224
  */
1209
1225
  'f'?: SendXHRResponseFormat | undefined;
1210
1226
  };
1211
- export declare type RawSendXHRResponse = {
1227
+ export type RawSendXHRResponse = {
1212
1228
  /** URL of the response after any redirects */
1213
1229
  'url': string;
1214
1230
  /** Plain-text or base64-encoded response body */
@@ -1222,11 +1238,11 @@ export declare type RawSendXHRResponse = {
1222
1238
  /** true if the request timed out */
1223
1239
  'to'?: boolean;
1224
1240
  };
1225
- export declare type SendXHRResponse = Promise<RawSendXHRResponse>;
1241
+ export type SendXHRResponse = Promise<RawSendXHRResponse>;
1226
1242
  export declare function isRawSendXHRResponse(val: any): val is RawSendXHRResponse;
1227
- export declare type SetCurrentPageQuery = string;
1228
- export declare type SetCurrentPageResult = Promise<void>;
1229
- export declare type SetPropertyQuery = {
1243
+ export type SetCurrentPageQuery = string;
1244
+ export type SetCurrentPageResult = Promise<void>;
1245
+ export type SetPropertyQuery = {
1230
1246
  /** ID of the element to change */
1231
1247
  'id'?: string | undefined;
1232
1248
  /** Name of the property to change */
@@ -1234,8 +1250,8 @@ export declare type SetPropertyQuery = {
1234
1250
  /** New value of the property */
1235
1251
  'v'?: JsonSerializable;
1236
1252
  };
1237
- export declare type SetPropertyResult = undefined;
1238
- export declare type SetReferenceKeyQuery = {
1253
+ export type SetPropertyResult = undefined;
1254
+ export type SetReferenceKeyQuery = {
1239
1255
  /** ID of the element to set the reference key on */
1240
1256
  'id'?: string | undefined;
1241
1257
  /** ID of the reference key to set */
@@ -1243,8 +1259,8 @@ export declare type SetReferenceKeyQuery = {
1243
1259
  /** New reference key settings, or undefined to remove the reference key */
1244
1260
  'v'?: SerializedReferenceKeyType | undefined;
1245
1261
  };
1246
- export declare type SetReferenceKeyResult = undefined;
1247
- export declare type SetShapeDataQuery = {
1262
+ export type SetReferenceKeyResult = undefined;
1263
+ export type SetShapeDataQuery = {
1248
1264
  /** ID of the element to set this shape data on */
1249
1265
  'id'?: string | undefined;
1250
1266
  /** Name for the already-existing shape data to update */
@@ -1252,8 +1268,8 @@ export declare type SetShapeDataQuery = {
1252
1268
  /** Value to set; use a string beginning with '=' for a formula */
1253
1269
  'v'?: SerializedFieldType;
1254
1270
  };
1255
- export declare type SetShapeDataResult = undefined;
1256
- export declare type SetTextQuery = {
1271
+ export type SetShapeDataResult = undefined;
1272
+ export type SetTextQuery = {
1257
1273
  /** ID of the element to change text on */
1258
1274
  'id': string;
1259
1275
  /** Name of the text area to update */
@@ -1263,8 +1279,8 @@ export declare type SetTextQuery = {
1263
1279
  /** Optional force boolean for extension to update uneditable items*/
1264
1280
  'f'?: boolean | undefined;
1265
1281
  };
1266
- export declare type SetTextResult = undefined;
1267
- export declare type SetTextStyleQuery = {
1282
+ export type SetTextResult = undefined;
1283
+ export type SetTextStyleQuery = {
1268
1284
  /** ID of the element to set text style on */
1269
1285
  'id': string;
1270
1286
  /** Name of the text area to set text style on */
@@ -1272,8 +1288,8 @@ export declare type SetTextStyleQuery = {
1272
1288
  /** Text styles to set */
1273
1289
  's': Partial<TextStyle>;
1274
1290
  };
1275
- export declare type SetTextStyleResult = Promise<undefined>;
1276
- export declare type ShowModalQuery = {
1291
+ export type SetTextStyleResult = Promise<undefined>;
1292
+ export type ShowModalQuery = {
1277
1293
  /** Name of the modal's action for receiving events; generated automatically by Modal base class */
1278
1294
  'n': string;
1279
1295
  /** Title to show on the modal */
@@ -1293,17 +1309,17 @@ export declare type ShowModalQuery = {
1293
1309
  /** URL to display in the modal (this or c is required). Can be relative to /public directory in the package */
1294
1310
  'u'?: string | undefined;
1295
1311
  };
1296
- export declare type ShowModalResult = undefined;
1297
- export declare type ShowPackageSettingsModalQuery = undefined;
1298
- export declare type ShowPackageSettingsModalResult = Promise<void>;
1299
- export declare type ShowPanelQuery = {
1312
+ export type ShowModalResult = undefined;
1313
+ export type ShowPackageSettingsModalQuery = undefined;
1314
+ export type ShowPackageSettingsModalResult = Promise<void>;
1315
+ export type ShowPanelQuery = {
1300
1316
  /** Name of the panel's action for receiving events, i.e. RegisterPanelQuery['n'] */
1301
1317
  'n': string;
1302
1318
  };
1303
- export declare type ShowPanelResult = undefined;
1304
- export declare type SleepForTestCaseQuery = number;
1305
- export declare type SleepForTestCaseResult = Promise<void>;
1306
- export declare type StartDragBlockToCanvasQuery = {
1319
+ export type ShowPanelResult = undefined;
1320
+ export type SleepForTestCaseQuery = number;
1321
+ export type SleepForTestCaseResult = Promise<void>;
1322
+ export type StartDragBlockToCanvasQuery = {
1307
1323
  /** Class name of the block to create */
1308
1324
  'c': string;
1309
1325
  /** Size of the block to create */
@@ -1318,72 +1334,72 @@ export declare type StartDragBlockToCanvasQuery = {
1318
1334
  /** If specified, the stencil for a custom shape. Only valid if the class name is 'CustomBlock' */
1319
1335
  's'?: JsonSerializable | undefined;
1320
1336
  };
1321
- export declare type StartDragBlockToCanvasResult = Promise<string | undefined>;
1322
- export declare type StartPDFUploadRequestQuery = string;
1337
+ export type StartDragBlockToCanvasResult = Promise<string | undefined>;
1338
+ export type StartPDFUploadRequestQuery = string;
1323
1339
  /**
1324
1340
  * @ignore
1325
1341
  * A signed URL you can upload the pdf to. You can do this manually (via the client, your own service) or via the
1326
1342
  * oauth proxy.
1327
1343
  */
1328
- export declare type StartPDFUploadRequestResponse = Promise<string>;
1329
- export declare type ThrowForTestCaseQuery = number;
1330
- export declare type ThrowForTestCaseResult = undefined | Promise<void>;
1331
- export declare type TriggerAuthFlowQuery = {
1344
+ export type StartPDFUploadRequestResponse = Promise<string>;
1345
+ export type ThrowForTestCaseQuery = number;
1346
+ export type ThrowForTestCaseResult = undefined | Promise<void>;
1347
+ export type TriggerAuthFlowQuery = {
1332
1348
  /** OAuth or merge provider name as specified in the package manifest */
1333
1349
  'p': string;
1334
1350
  };
1335
- export declare type TriggerAuthFlowResult = Promise<RawTriggerAuthFlowResult>;
1336
- export declare type RawTriggerAuthFlowResult = {
1351
+ export type TriggerAuthFlowResult = Promise<RawTriggerAuthFlowResult>;
1352
+ export type RawTriggerAuthFlowResult = {
1337
1353
  's': boolean;
1338
1354
  };
1339
- export declare type UnhookAllChangesQuery = {
1355
+ export type UnhookAllChangesQuery = {
1340
1356
  /** Name of the action passed to HookAllChanges */
1341
1357
  'n': string;
1342
1358
  };
1343
- export declare type UnhookAllChangesResult = undefined;
1344
- export declare type UnhookCreateItemsQuery = {
1359
+ export type UnhookAllChangesResult = undefined;
1360
+ export type UnhookCreateItemsQuery = {
1345
1361
  /** Name of the action passed to HookCreateItems */
1346
1362
  'n': string;
1347
1363
  };
1348
- export declare type UnhookCreateItemsResult = undefined;
1349
- export declare type UnhookDeleteItemsQuery = {
1364
+ export type UnhookCreateItemsResult = undefined;
1365
+ export type UnhookDeleteItemsQuery = {
1350
1366
  /** Name of the action passed to HookDeleteItems */
1351
1367
  'n': string;
1352
1368
  };
1353
- export declare type UnhookDeleteItemsResult = undefined;
1354
- export declare type UnhookSelectionQuery = {
1369
+ export type UnhookDeleteItemsResult = undefined;
1370
+ export type UnhookSelectionQuery = {
1355
1371
  /** Name of the action for receiving these events */
1356
1372
  'n': string;
1357
1373
  };
1358
- export declare type UnhookSelectionResult = undefined;
1359
- export declare type UnhookTextEditQuery = {
1374
+ export type UnhookSelectionResult = undefined;
1375
+ export type UnhookTextEditQuery = {
1360
1376
  /** Name of the action for receiving these events */
1361
1377
  'n': string;
1362
1378
  };
1363
- export declare type UnhookTextEditResult = undefined;
1364
- export declare type WithMutexQuery = {
1379
+ export type UnhookTextEditResult = undefined;
1380
+ export type WithMutexQuery = {
1365
1381
  /** Name of the intra-document mutex to hold for the duration of this action */
1366
1382
  'n': string;
1367
1383
  /** Name of the action to run within the given mutex */
1368
1384
  'a': string;
1369
1385
  };
1370
1386
  /** Resolves true if operation succeeded, or false if the mutex was held by someone else */
1371
- export declare type WithMutexResult = Promise<boolean>;
1372
- export declare type WithSilentActionsQuery = {
1387
+ export type WithMutexResult = Promise<boolean>;
1388
+ export type WithSilentActionsQuery = {
1373
1389
  /** Name of the synchronous action to run with undo/redo history suppressed */
1374
1390
  'a': string;
1375
1391
  };
1376
- export declare type WithSilentActionsResult = void;
1392
+ export type WithSilentActionsResult = void;
1377
1393
  export declare enum ZOrderOperation {
1378
1394
  UP = 1,
1379
1395
  TOP = 2,
1380
1396
  DOWN = 3,
1381
1397
  BOTTOM = 4
1382
1398
  }
1383
- export declare type ZOrderQuery = {
1399
+ export type ZOrderQuery = {
1384
1400
  /** IDs of the items to adjust Z order */
1385
1401
  'i': string[];
1386
1402
  /** Operation to perform on these items */
1387
1403
  'o': ZOrderOperation;
1388
1404
  };
1389
- export declare type ZOrderResult = undefined;
1405
+ export type ZOrderResult = undefined;