serverside_pivot 0.0.90 → 0.0.95

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 (171) hide show
  1. package/README.md +182 -165
  2. package/dist/react/chunks/{ContextMenu-Bt5_3bmD.mjs → ContextMenu-1G-o1ms9.mjs} +52 -49
  3. package/dist/react/chunks/{DetailDrawer-DtsvdhO4.mjs → DetailDrawer-DCKIxSpW.mjs} +1 -1
  4. package/dist/react/chunks/{DetailSidePanel-v_7iU73g.mjs → DetailSidePanel-DgUWPBQk.mjs} +1 -1
  5. package/dist/react/chunks/{DetailSurfaceContent-BOXVc58A.mjs → DetailSurfaceContent-BEL6xuaZ.mjs} +46 -37
  6. package/dist/react/chunks/{ECharts2dRenderer-BGL_NVGU.mjs → ECharts2dRenderer-Dgkp9_1P.mjs} +412 -410
  7. package/dist/react/chunks/{ECharts3dRenderer-BF2YWlsP.mjs → ECharts3dRenderer-70VOp8V0.mjs} +2211 -3197
  8. package/dist/react/chunks/{EditSidePanel-CuvtsKTK.mjs → EditSidePanel-CygqVXLX.mjs} +77 -65
  9. package/dist/react/chunks/{InlineDetailPanel-Bmtlu3lc.mjs → InlineDetailPanel-BUBRWdFW.mjs} +1 -1
  10. package/dist/react/chunks/{PivotCharts-CA3_0bB8.mjs → PivotCharts-VX5-mEEp.mjs} +2206 -1396
  11. package/dist/react/chunks/{ReportEditor-DYBr0HDz.mjs → ReportEditor-B5j-CU9-.mjs} +614 -319
  12. package/dist/react/chunks/{SidebarPanel-B64bhrUW.mjs → SidebarPanel-LXUE6nPd.mjs} +1793 -1390
  13. package/dist/react/chunks/{SparklineDetailGraph-90WjWkhg.mjs → SparklineDetailGraph-Cfe2KcOp.mjs} +88 -58
  14. package/dist/react/chunks/installCanvasRenderer-C4h5pc1p.mjs +21174 -0
  15. package/dist/react/chunks/react-CDa-ADnG.mjs +31199 -0
  16. package/dist/react/chunks/{xlsx.mini.min-BwwnBtoK.mjs → xlsx.mini.min-CzdkdH3N.mjs} +5 -5
  17. package/dist/react/components/Charts/ChartRenderers.d.ts +5 -73
  18. package/dist/react/components/Charts/ChartWorkspace.d.ts +3 -34
  19. package/dist/react/components/Charts/ECharts2dRenderer.d.ts +2 -5
  20. package/dist/react/components/Charts/ECharts3dRenderer.d.ts +2 -6
  21. package/dist/react/components/Charts/PivotCharts.d.ts +2 -9
  22. package/dist/react/components/Charts/chartEnhancements.d.ts +17 -66
  23. package/dist/react/components/Charts/chartExportPresentation.d.ts +5 -19
  24. package/dist/react/components/Charts/chartMath.d.ts +4 -4
  25. package/dist/react/components/Charts/useChartExportMenu.d.ts +4 -12
  26. package/dist/react/components/DashTanstackPivot.react.d.ts +43 -0
  27. package/dist/react/components/Filters/ColumnFilter.d.ts +2 -12
  28. package/dist/react/components/Filters/DateRangeFilter.d.ts +2 -7
  29. package/dist/react/components/Filters/FilterPopover.d.ts +2 -13
  30. package/dist/react/components/Filters/MultiSelectFilter.d.ts +2 -11
  31. package/dist/react/components/Filters/NumericRangeFilter.d.ts +2 -7
  32. package/dist/react/components/Notification.d.ts +2 -6
  33. package/dist/react/components/PivotAppBar.d.ts +2 -2
  34. package/dist/react/components/PivotErrorBoundary.d.ts +11 -7
  35. package/dist/react/components/PivotSmallComponents.d.ts +2 -3
  36. package/dist/react/components/PivotWorkspace.d.ts +1 -1
  37. package/dist/react/components/PivotWorkspaceCanvas.d.ts +2 -5
  38. package/dist/react/components/PivotWorkspaceControls.d.ts +4 -8
  39. package/dist/react/components/PivotWorkspaceShell.d.ts +4 -12
  40. package/dist/react/components/RuntimeDataError.d.ts +2 -7
  41. package/dist/react/components/Sidebar/ColumnTreeItem.d.ts +2 -13
  42. package/dist/react/components/Sidebar/ReportEditor.d.ts +7 -20
  43. package/dist/react/components/Sidebar/SidebarFilterItem.d.ts +2 -13
  44. package/dist/react/components/Sidebar/SidebarPanel.d.ts +1 -2
  45. package/dist/react/components/Sidebar/ToolPanelSection.d.ts +2 -13
  46. package/dist/react/components/Sidebar/customCategoryUtils.d.ts +31 -62
  47. package/dist/react/components/Sidebar/formulaUtils.d.ts +16 -18
  48. package/dist/react/components/SkeletonRow.d.ts +2 -5
  49. package/dist/react/components/Table/ContextMenu.d.ts +2 -8
  50. package/dist/react/components/Table/DetailDrawer.d.ts +2 -11
  51. package/dist/react/components/Table/DetailSidePanel.d.ts +2 -11
  52. package/dist/react/components/Table/DetailSurfaceContent.d.ts +2 -11
  53. package/dist/react/components/Table/EditSidePanel.d.ts +2 -20
  54. package/dist/react/components/Table/EditableCell.d.ts +2 -28
  55. package/dist/react/components/Table/InlineDetailPanel.d.ts +2 -13
  56. package/dist/react/components/Table/PivotTableBody.d.ts +3 -3
  57. package/dist/react/components/Table/SparklineCell.d.ts +2 -17
  58. package/dist/react/components/Table/SparklineDetailGraph.d.ts +2 -5
  59. package/dist/react/components/Table/StatusBar.d.ts +2 -7
  60. package/dist/react/contexts/PivotConfigContext.d.ts +5 -33
  61. package/dist/react/contexts/PivotThemeContext.d.ts +7 -4
  62. package/dist/react/contexts/PivotValueDisplayContext.d.ts +5 -9
  63. package/dist/react/hooks/useChartState.d.ts +2 -71
  64. package/dist/react/hooks/useColumnDefs.d.ts +3 -68
  65. package/dist/react/hooks/useColumnVirtualizer.d.ts +1 -30
  66. package/dist/react/hooks/useDetailDrillThrough.d.ts +2 -36
  67. package/dist/react/hooks/useFilteredData.d.ts +4 -2
  68. package/dist/react/hooks/useFormatState.d.ts +2 -39
  69. package/dist/react/hooks/usePersistence.d.ts +4 -5
  70. package/dist/react/hooks/usePivotFieldInteractions.d.ts +2 -23
  71. package/dist/react/hooks/usePivotNormalization.d.ts +127 -451
  72. package/dist/react/hooks/usePivotRenderCounter.d.ts +2 -1
  73. package/dist/react/hooks/usePivotTransactions.d.ts +2 -23
  74. package/dist/react/hooks/useRenderHelpers.d.ts +3 -71
  75. package/dist/react/hooks/useReportMode.d.ts +2 -28
  76. package/dist/react/hooks/useRowCache.d.ts +16 -15
  77. package/dist/react/hooks/useRuntimeDataCommit.d.ts +2 -22
  78. package/dist/react/hooks/useRuntimeProfiling.d.ts +2 -13
  79. package/dist/react/hooks/useRuntimeTransport.d.ts +2 -18
  80. package/dist/react/hooks/useServerSideRowModel.d.ts +1 -50
  81. package/dist/react/hooks/useServerSideViewportController.d.ts +1 -64
  82. package/dist/react/hooks/useSidebarUI.d.ts +2 -32
  83. package/dist/react/hooks/useStickyStyles.d.ts +2 -23
  84. package/dist/react/index.mjs +20 -6
  85. package/dist/react/presentation/headerFormatting.d.ts +28 -11
  86. package/dist/react/presentation/safeCellContent.d.ts +22 -5
  87. package/dist/react/react.d.ts +4 -0
  88. package/dist/react/runtime/PivotRuntimeRoot.d.ts +1 -1
  89. package/dist/react/runtime/client/clientPivotTransport.d.ts +32 -0
  90. package/dist/react/runtime/client/clientResponsePostProcessor.d.ts +70 -0
  91. package/dist/react/runtime/client/clientSqlPlanner.d.ts +5 -0
  92. package/dist/react/runtime/client/duckdbWasmExecutor.d.ts +36 -0
  93. package/dist/react/runtime/client/index.d.ts +6 -0
  94. package/dist/react/runtime/client/modeResolver.d.ts +16 -0
  95. package/dist/react/runtime/client/types.d.ts +207 -0
  96. package/dist/react/runtime/createRuntimeCellPresentation.d.ts +2 -7
  97. package/dist/react/runtime/createRuntimeExportCommands.d.ts +2 -71
  98. package/dist/react/runtime/createRuntimeRowPinCommand.d.ts +2 -9
  99. package/dist/react/runtime/displayColumnOrder.d.ts +4 -4
  100. package/dist/react/runtime/httpTransport.d.ts +1 -0
  101. package/dist/react/runtime/runtime-contract.generated.d.ts +3 -0
  102. package/dist/react/runtime/runtimeContract.d.ts +3 -0
  103. package/dist/react/runtime/runtimeDomains.d.ts +18 -0
  104. package/dist/react/runtime/useChartWorkspacePresentation.d.ts +2 -45
  105. package/dist/react/runtime/useCoreRuntime.d.ts +4 -1
  106. package/dist/react/runtime/useCoreRuntimeStage.d.ts +1 -1
  107. package/dist/react/runtime/useRuntimeCellSelection.d.ts +2 -40
  108. package/dist/react/runtime/useRuntimeChartCanvasCommands.d.ts +7 -31
  109. package/dist/react/runtime/useRuntimeChartCanvasResize.d.ts +2 -13
  110. package/dist/react/runtime/useRuntimeChartCanvasVerticalResize.d.ts +2 -9
  111. package/dist/react/runtime/useRuntimeChartDefinitionCommands.d.ts +2 -14
  112. package/dist/react/runtime/useRuntimeChartFloatingInteractions.d.ts +2 -28
  113. package/dist/react/runtime/useRuntimeChartModels.d.ts +2 -62
  114. package/dist/react/runtime/useRuntimeChartPanelSizing.d.ts +2 -12
  115. package/dist/react/runtime/useRuntimeChartRequestDispatch.d.ts +2 -4
  116. package/dist/react/runtime/useRuntimeClipboardExportPresentation.d.ts +2 -152
  117. package/dist/react/runtime/useRuntimeClipboardPaste.d.ts +2 -7
  118. package/dist/react/runtime/useRuntimeColorScalePresentation.d.ts +2 -55
  119. package/dist/react/runtime/useRuntimeColumnAutoSizing.d.ts +2 -26
  120. package/dist/react/runtime/useRuntimeColumnCommands.d.ts +2 -22
  121. package/dist/react/runtime/useRuntimeColumnMeasurement.d.ts +2 -11
  122. package/dist/react/runtime/useRuntimeDataRetry.d.ts +2 -12
  123. package/dist/react/runtime/useRuntimeDisplayNavigation.d.ts +2 -11
  124. package/dist/react/runtime/useRuntimeEditCellIdentity.d.ts +2 -18
  125. package/dist/react/runtime/useRuntimeEditChangeTracking.d.ts +2 -28
  126. package/dist/react/runtime/useRuntimeEditComparisonState.d.ts +2 -35
  127. package/dist/react/runtime/useRuntimeEditDispatch.d.ts +2 -43
  128. package/dist/react/runtime/useRuntimeEditOwnership.d.ts +2 -28
  129. package/dist/react/runtime/useRuntimeEditPresentation.d.ts +2 -32
  130. package/dist/react/runtime/useRuntimeEditStatePersistence.d.ts +2 -24
  131. package/dist/react/runtime/useRuntimeExportState.d.ts +5 -5
  132. package/dist/react/runtime/useRuntimeFilterPopover.d.ts +2 -19
  133. package/dist/react/runtime/useRuntimeLayoutHistory.d.ts +2 -40
  134. package/dist/react/runtime/useRuntimeOptimisticCellState.d.ts +2 -27
  135. package/dist/react/runtime/useRuntimeRequestSession.d.ts +2 -76
  136. package/dist/react/runtime/useRuntimeResponseLifecycle.d.ts +2 -43
  137. package/dist/react/runtime/useRuntimeResponsePostCommit.d.ts +2 -15
  138. package/dist/react/runtime/useRuntimeRowEditSessions.d.ts +2 -28
  139. package/dist/react/runtime/useRuntimeRowEditing.d.ts +2 -18
  140. package/dist/react/runtime/useRuntimeRowSelection.d.ts +2 -14
  141. package/dist/react/runtime/useRuntimeSelectionFormatting.d.ts +2 -30
  142. package/dist/react/runtime/useRuntimeStructuralSync.d.ts +2 -58
  143. package/dist/react/runtime/useRuntimeViewRestoreScroll.d.ts +2 -5
  144. package/dist/react/runtime/useRuntimeViewSnapshot.d.ts +2 -196
  145. package/dist/react/runtime/useRuntimeViewportTableData.d.ts +2 -23
  146. package/dist/react/runtime/useWorkspaceStatusPresentation.d.ts +2 -109
  147. package/dist/react/utils/Icons.d.ts +2 -45
  148. package/dist/react/utils/chartModelBuilders.d.ts +76 -230
  149. package/dist/react/utils/columnOrder.d.ts +8 -12
  150. package/dist/react/utils/dataBars.d.ts +3 -7
  151. package/dist/react/utils/domEvents.d.ts +1 -1
  152. package/dist/react/utils/editing.d.ts +12 -47
  153. package/dist/react/utils/exportUtils.d.ts +30 -101
  154. package/dist/react/utils/fieldPanelLayout.d.ts +12 -61
  155. package/dist/react/utils/filterOptions.d.ts +4 -4
  156. package/dist/react/utils/helpers.d.ts +16 -18
  157. package/dist/react/utils/horizontalViewport.d.ts +1 -12
  158. package/dist/react/utils/layoutRows.d.ts +3 -3
  159. package/dist/react/utils/measureAxis.d.ts +6 -22
  160. package/dist/react/utils/pivotLayoutUtils.d.ts +3 -2
  161. package/dist/react/utils/pivotProfiler.d.ts +3 -3
  162. package/dist/react/utils/reportEditorSelection.d.ts +1 -23
  163. package/dist/react/utils/rowSpanning.d.ts +3 -6
  164. package/dist/react/utils/savedReports.d.ts +4 -7
  165. package/dist/react/utils/sorting.d.ts +8 -14
  166. package/dist/react/utils/sparklineDetail.d.ts +5 -8
  167. package/dist/react/utils/sparklines.d.ts +10 -78
  168. package/dist/react/utils/styles.d.ts +19 -308
  169. package/package.json +114 -89
  170. package/dist/react/chunks/installCanvasRenderer-C8gE9ttC.mjs +0 -21281
  171. package/dist/react/chunks/react-52jgz-em.mjs +0 -25301
@@ -1,30 +1 @@
1
- export function useColumnVirtualizer({ parentRef, table, estimateColumnWidth, serverSide, totalCenterCols, columnOverscan, stateEpoch, onHorizontalScrollMetrics, onPreciseVisibleColRange, columnVisibility, columnPinning, columnOrder, columnSizing, columns, }: {
2
- parentRef: any;
3
- table: any;
4
- estimateColumnWidth: any;
5
- serverSide?: boolean | undefined;
6
- totalCenterCols?: null | undefined;
7
- columnOverscan?: null | undefined;
8
- stateEpoch?: number | undefined;
9
- onHorizontalScrollMetrics?: null | undefined;
10
- onPreciseVisibleColRange?: null | undefined;
11
- columnVisibility: any;
12
- columnPinning: any;
13
- columnOrder: any;
14
- columnSizing: any;
15
- columns: any;
16
- }): {
17
- columnVirtualizer: import("@tanstack/virtual-core").Virtualizer<any, Element>;
18
- virtualCenterCols: import("@tanstack/virtual-core").VirtualItem[];
19
- centerTotalWidth: number;
20
- beforeWidth: number;
21
- afterWidth: number;
22
- totalLayoutWidth: any;
23
- leftCols: any;
24
- rightCols: any;
25
- centerCols: any;
26
- preciseVisibleColRange: {
27
- start: number;
28
- end: number;
29
- };
30
- };
1
+ export function useColumnVirtualizer({ parentRef, table, estimateColumnWidth, serverSide, totalCenterCols, columnOverscan, stateEpoch, onHorizontalScrollMetrics, onPreciseVisibleColRange, columnVisibility, columnPinning, columnOrder, columnSizing, columns, }: any): any;
@@ -1,38 +1,4 @@
1
1
  /**
2
2
  * Manages detail/drill-through panel state, requests, and caching.
3
- */
4
- export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }: {
5
- detailConfig: any;
6
- detailMode: any;
7
- viewMode: any;
8
- reportDef: any;
9
- treeConfig: any;
10
- rowFields: any;
11
- colFields: any;
12
- valConfigs: any;
13
- tableName: any;
14
- runtimeResponse: any;
15
- emitRuntimeRequest: any;
16
- stateEpoch: any;
17
- abortGeneration: any;
18
- sessionIdRef: any;
19
- clientInstanceRef: any;
20
- requestVersionRef: any;
21
- setPropsRef: any;
22
- profilingEnabledRef: any;
23
- pivotProfilerRef: any;
24
- profilerComponentIdRef: any;
25
- }): {
26
- detailSurface: null;
27
- setDetailSurface: import("react").Dispatch<import("react").SetStateAction<null>>;
28
- toggleDetailForRowRef: import("react").RefObject<null>;
29
- pendingDetailRequestRef: import("react").RefObject<null>;
30
- activeDetailDisplayMode: any;
31
- fetchDetailData: (detailRequest: any) => void;
32
- handleCellDrillThrough: (row: any, colId: any) => void;
33
- toggleDetailForRow: (row: any) => void;
34
- handleDetailPageChange: (nextPage: any) => void;
35
- handleDetailSort: (columnId: any, direction: any) => void;
36
- handleDetailFilter: (text: any) => void;
37
- handleDetailClose: () => void;
38
- };
3
+ @param {any} p0 @returns {any} */
4
+ export function useDetailDrillThrough({ detailConfig, detailMode, viewMode, reportDef, treeConfig, rowFields, colFields, valConfigs, tableName, runtimeResponse, emitRuntimeRequest, stateEpoch, abortGeneration, sessionIdRef, clientInstanceRef, requestVersionRef, setPropsRef, profilingEnabledRef, pivotProfilerRef, profilerComponentIdRef, }: any): any;
@@ -1,2 +1,4 @@
1
- export function evaluateFilterGroup(rowVal: any, filterGroup: any): any;
2
- export function useFilteredData(data: any, filters: any, serverSide: any): any;
1
+ /** @param {any} [rowVal] @param {any} [filterGroup] @returns {any} */
2
+ export function evaluateFilterGroup(rowVal?: any, filterGroup?: any): any;
3
+ /** @param {any} [data] @param {any} [filters] @param {any} [serverSide] @returns {any} */
4
+ export function useFilteredData(data?: any, filters?: any, serverSide?: any): any;
@@ -3,42 +3,5 @@
3
3
  *
4
4
  * Covers: color scale, data bars, font, decimal, number format, cell format
5
5
  * rules, zoom, and hovered row path.
6
- */
7
- export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }: {
8
- normalizedInitialDecimalPlaces: any;
9
- normalizedInitialDefaultValueFormat: any;
10
- normalizedInitialNumberGroupSeparator: any;
11
- }): {
12
- colorScaleMode: string;
13
- setColorScaleMode: (mode: any, columns?: null) => void;
14
- colorScaleColumns: null;
15
- setColorScaleColumns: import("react").Dispatch<import("react").SetStateAction<null>>;
16
- colorPalette: string;
17
- setColorPalette: import("react").Dispatch<import("react").SetStateAction<string>>;
18
- dataBarsColumns: Set<any>;
19
- setDataBarsColumns: import("react").Dispatch<import("react").SetStateAction<Set<any>>>;
20
- dataBarMaximums: {};
21
- setDataBarMaximums: (value: any) => void;
22
- fontFamily: string;
23
- setFontFamily: import("react").Dispatch<import("react").SetStateAction<string>>;
24
- fontSize: string;
25
- setFontSize: import("react").Dispatch<import("react").SetStateAction<string>>;
26
- decimalPlaces: any;
27
- setDecimalPlaces: import("react").Dispatch<any>;
28
- defaultValueFormat: any;
29
- setDefaultValueFormat: import("react").Dispatch<any>;
30
- numberGroupSeparator: any;
31
- setNumberGroupSeparator: import("react").Dispatch<any>;
32
- columnDecimalOverrides: {};
33
- setColumnDecimalOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
34
- columnFormatOverrides: {};
35
- setColumnFormatOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
36
- columnGroupSeparatorOverrides: {};
37
- setColumnGroupSeparatorOverrides: import("react").Dispatch<import("react").SetStateAction<{}>>;
38
- cellFormatRules: {};
39
- setCellFormatRules: import("react").Dispatch<import("react").SetStateAction<{}>>;
40
- hoveredRowPath: null;
41
- setHoveredRowPath: import("react").Dispatch<import("react").SetStateAction<null>>;
42
- zoomLevel: number;
43
- setZoomLevel: import("react").Dispatch<import("react").SetStateAction<number>>;
44
- };
6
+ @param {any} p0 @returns {any} */
7
+ export function useFormatState({ normalizedInitialDecimalPlaces, normalizedInitialDefaultValueFormat, normalizedInitialNumberGroupSeparator, }: any): any;
@@ -1,5 +1,4 @@
1
- export function resolvePersistedViewState(explicitView: any, savedView: any, tableName: any): any;
2
- export function usePersistence(id: any, persistence: any, persistence_type: any): {
3
- load: (key: any, defaultValue: any) => any;
4
- save: (key: any, value: any) => void;
5
- };
1
+ /** @param {any} [explicitView] @param {any} [savedView] @param {any} [tableName] @returns {any} */
2
+ export function resolvePersistedViewState(explicitView?: any, savedView?: any, tableName?: any): any;
3
+ /** @param {any} [id] @param {any} [persistence] @param {any} [persistence_type] @returns {any} */
4
+ export function usePersistence(id?: any, persistence?: any, persistence_type?: any): any;
@@ -3,26 +3,5 @@
3
3
  * headers: drag payloads, drop indicators, semantic field moves, rendered
4
4
  * column reordering, and column pinning. The composition root supplies its
5
5
  * persisted layout writers and table metadata explicitly through `configure`.
6
- */
7
- export function usePivotFieldInteractions(): {
8
- configure: (context: any) => void;
9
- dragItem: null;
10
- dropLine: null;
11
- dragOverHeaderId: null;
12
- dragOverSide: null;
13
- handlePinColumn: (columnId: any, side: any) => boolean;
14
- toggleAllColumnsPinned: (pinState: any) => boolean;
15
- applyFieldZoneMove: ({ field, srcZone, srcIdx, targetZone, targetIdx, source, }?: {
16
- srcIdx?: number | undefined;
17
- targetIdx?: number | undefined;
18
- source?: string | undefined;
19
- }) => boolean;
20
- onDragStart: (event: any, field: any, zone: any, index: any) => void;
21
- onDragOver: (event: any, zone: any, index: any) => void;
22
- onDrop: (event: any, targetZone: any) => void;
23
- onHeaderDrop: (event: any, targetColumnId: any) => void;
24
- onHeaderDragOver: (event: any, columnId: any) => void;
25
- onHeaderDragEnd: () => void;
26
- onHeaderKeyboardMove: (columnId: any, delta: any) => boolean;
27
- onHeaderKeyboardPin: (columnId: any, side: any) => boolean;
28
- };
6
+ @returns {any} */
7
+ export function usePivotFieldInteractions(): any;