lucid-extension-sdk 0.0.174 → 0.0.176

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