@nexia/sdk 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/app-availability.d.ts +18 -0
  2. package/dist/app-availability.js +29 -0
  3. package/dist/approval.d.ts +180 -0
  4. package/dist/approval.js +9 -0
  5. package/dist/context.d.ts +49 -0
  6. package/dist/context.js +1 -0
  7. package/dist/data-migration.d.ts +123 -0
  8. package/dist/data-migration.js +70 -0
  9. package/dist/fixtures/approval-contract-negative.d.ts +1 -0
  10. package/dist/fixtures/approval-contract-negative.js +8 -0
  11. package/dist/handoff-result.d.ts +6 -0
  12. package/dist/handoff-result.js +17 -0
  13. package/dist/host.d.ts +602 -0
  14. package/dist/host.js +803 -0
  15. package/dist/index.d.ts +42 -0
  16. package/dist/index.js +21 -0
  17. package/dist/number.d.ts +2 -0
  18. package/dist/number.js +9 -0
  19. package/dist/organization-target.d.ts +101 -0
  20. package/dist/organization-target.js +105 -0
  21. package/dist/permissions.d.ts +3 -0
  22. package/dist/permissions.js +12 -0
  23. package/dist/platform.d.ts +378 -0
  24. package/dist/platform.js +114 -0
  25. package/dist/process.d.ts +98 -0
  26. package/dist/process.js +10 -0
  27. package/dist/resource-composition.d.ts +104 -0
  28. package/dist/resource-composition.js +576 -0
  29. package/dist/resource-create-destination.d.ts +17 -0
  30. package/dist/resource-create-destination.js +1 -0
  31. package/dist/resource-reference.d.ts +122 -0
  32. package/dist/resource-reference.js +203 -0
  33. package/dist/resources/resource-information.d.ts +128 -0
  34. package/dist/resources/resource-information.js +12 -0
  35. package/dist/resources/resource-list.d.ts +23 -0
  36. package/dist/resources/resource-list.js +1 -0
  37. package/dist/resources/resource-projections.d.ts +311 -0
  38. package/dist/resources/resource-projections.js +1 -0
  39. package/dist/resources/resource-transfer.d.ts +208 -0
  40. package/dist/resources/resource-transfer.js +1 -0
  41. package/dist/shell.d.ts +1297 -0
  42. package/dist/shell.js +1 -0
  43. package/dist/signature.d.ts +489 -0
  44. package/dist/signature.js +171 -0
  45. package/dist/spreadsheet.d.ts +42 -0
  46. package/dist/spreadsheet.js +15 -0
  47. package/dist/testing.d.ts +16 -0
  48. package/dist/testing.js +17 -0
  49. package/package.json +53 -0
package/dist/host.d.ts ADDED
@@ -0,0 +1,602 @@
1
+ import type { NxSpreadsheetEditorProps } from "./spreadsheet";
2
+ import { type ComponentType, type ReactNode } from 'react';
3
+ import type { AxiosInstance } from 'axios';
4
+ import type { ApprovalBusinessFormRegistrar, ApprovalBusinessFormRegistry } from './approval';
5
+ import type { ContextQueryResult, PermissionsQueryResult } from './context';
6
+ import type { DataMigrationBackgroundOperationClient, DataMigrationRegistrar, DataMigrationRegistry } from './data-migration';
7
+ import type { ProcessUserTaskFormRegistrar, ProcessUserTaskFormRegistry } from './process';
8
+ import type { AppRouteFrameProps, AutoRegisterPackageSurfacesOptions, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, MessageApi, MutationFormError, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserProps, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxDropdownMenuProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxOverviewBandProps, InsightFilterControls, UseInsightFilterStateOptions, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxPageFrameProps, NxPaginationProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxSearchFieldProps, NxSectionCardProps, NxSectionStackProps, NxResponsiveRegionProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, OpenResourceWorkTab, ResourceCreateCompletion, ResourceCreateReceiverRegistration, ResourceInspectorAdapterRegistry, ResourceInspectorAdapterRegistrar, ResourceInspectorPanelProps, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListParams, ResourceListParamsControls, ResourceListToolbarMoreMenuProps, ResourcePrimaryCellProps, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableProps, ResourceTableSort, ResourceTextCellProps, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, TabContextActionRegistration, ToastOptions, WorkSectionProps, FavoriteTarget, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps } from './shell';
9
+ import type { AgentComponentRenderer, AttachmentDeleteResult, AttachmentQueryResult, AttachmentUploadOptions, AttachmentUploadResult, ApprovalRoutePoliciesQueryResult, ApprovalSharedLinesQueryResult, DashboardWidgetAutoHeightRef, LegalEntityMemberListParams, LegalEntityMemberQueryResult, LegalEntityApplicabilityQueryResult, LegalEntityQueryResult, MediaUploadResult, OperatingUnitQueryResult, OperatingUnitQueryScope, OperatingUnitScopeFieldProps, OperatingUnitScopeResult, OperatingUnitSelectionResult, PartyListParams, PartyQueryResult, TrustedAssetListParams, TrustedAssetsQueryResult, UploadFileClient } from './platform';
10
+ import type { NxOrganizationTargetSelectorProps, NxOperatingUnitSelectorProps, OrganizationListScopeMode, OrganizationListScopeResult, OrganizationTargetQuery, OrganizationTargetQueryResult } from './organization-target';
11
+ import type { NxCalendarProps, NxResourceSchedulerProps, ResourceBoardProps, ResourceScheduleProps } from './resources/resource-projections';
12
+ import type { NxDatasetExportWorkspaceProps, NxDatasetImportWorkspaceProps, NxResourceImportDialogProps, NxResourceTransferActionsProps } from './resources/resource-transfer';
13
+ import type { NxResourceInformationFormProps, NxResourceFormLegalEntityFieldProps, NxResourceInformationViewProps } from './resources/resource-information';
14
+ import type { SignatureAuthenticationMethodSelectorProps, SignatureInvitationChannelSelectorProps, SignatureRequestPreparationEditorProps, SignatureRequestPreparationExactPreviewProps, SignatureRequestPreparationPlacementEditorProps, SignatureSingleRequestDialogProps } from './signature';
15
+ import type { ResourceProjectionChangeSubscription } from './resource-reference';
16
+ import type { ResourceCreateDestinationRegistry } from './resource-create-destination';
17
+ export type { ResourceProjectionChangeSubscription } from './resource-reference';
18
+ /** Host-only visual component prop contracts. App packages import these from ./host. */
19
+ export type { AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, NxAdaptiveSplitAsideWidth, NxAdaptiveSplitBreakpoint, NxAdaptiveSplitDensity, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxDropdownMenuProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartItem, NxOrgChartLabels, NxOrgChartMember, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxOverviewBandProps, NxPageFrameProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxResponsiveRegionProps, ResourceListToolbarMoreMenuProps, NxSearchFieldProps, NxSectionCardProps, NxSectionStackProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxTabNavItem, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, ResourceListRefreshConfig, ResourceTableDensity, ResourceTableStyle, ResourceTableSummaryRow, } from './shell';
20
+ export type { NxResourceInformationFormProps, NxResourceFormLegalEntityFieldProps, NxResourceInformationViewProps, ResourceInformationControlProjection, ResourceInformationControlSlot, ResourceInformationCustomProjection, ResourceInformationEditProjection, ResourceInformationEditRenderContext, ResourceInformationField, ResourceInformationFieldSpan, ResourceInformationMode, ResourceInformationReadOnlyProjection, ResourceInformationRequirement, ResourceInformationSchema, ResourceInformationSection, ResourceInformationTranslator, ResourceInformationValue, } from './resources/resource-information';
21
+ export type { NxCalendarActionBinding, NxCalendarActionCommand, NxCalendarActionResult, NxCalendarInteraction, NxCalendarOccurrence, NxCalendarProps, NxCalendarRange, NxCalendarSelection, NxCalendarTemporalRange, NxCalendarView, NxResourceSchedulerActionBinding, NxResourceSchedulerActionCommand, NxResourceSchedulerActionResult, NxResourceSchedulerInteraction, NxResourceSchedulerOccurrence, NxResourceSchedulerProps, NxResourceSchedulerResource, NxResourceSchedulerSelection, NxResourceSchedulerView, ResourceBoardCard, ResourceBoardLabels, ResourceBoardLane, ResourceBoardLoadState, ResourceBoardMoveCommand, ResourceBoardMutationResult, ResourceBoardProjection, ResourceBoardProps, ResourceBoardSummaryField, ResourceProjectionReference, ResourceScheduleActionBinding, ResourceScheduleActionCommand, ResourceScheduleDatePair, ResourceScheduleDateSemantics, ResourceScheduleDependency, ResourceScheduleDependencyType, ResourceScheduleInteraction, ResourceScheduleItem, ResourceScheduleItemType, ResourceScheduleLoadState, ResourceScheduleMutationResult, ResourceScheduleProjection, ResourceScheduleProps, ResourceScheduleTimeUnit, ResourceScheduleView, } from './resources/resource-projections';
22
+ export type { DatasetImportConfirmationSummary, NxDatasetExportWorkspaceProps, NxDatasetImportWorkspaceProps, NxResourceImportDialogProps, NxResourceTransferActionsProps, } from './resources/resource-transfer';
23
+ export { projectSignatureCapabilityCatalog, signatureCapabilityIdentity, } from './signature';
24
+ export type { SignatureAuthenticationCapability, SignatureAuthenticationMethod, SignatureAuthenticationMethodSelectorProps, SignatureCapability, SignatureCapabilityCatalog, SignatureCapabilityKind, SignatureCapabilityStatus, SignatureCapabilityUnavailableReason, SignatureInvitationCapability, SignatureInvitationChannel, SignatureInvitationChannelSelectorProps, SignatureRequestPreparationDocument, SignatureRequestPreparationEditorPreparation, SignatureRequestPreparationEditorProps, SignatureRequestPreparationDataSourceCard, SignatureRequestPreparationEditPolicy, SignatureRequestPreparationExactPreviewPreparation, SignatureRequestPreparationExactPreviewProps, SignatureRequestPreparationInputDefinition, SignatureRequestPreparationInputKind, SignatureRequestPreparationInputValueAuthority, SignatureRequestPreparationPlacementEditorProps, SignatureRequestPreparationPlacementElement, SignatureRequestPreparationPlacementFormElement, SignatureRequestPreparationPlacementFormKind, SignatureRequestPreparationPlacementImageAsset, SignatureRequestPreparationPlacementImageElement, SignatureRequestPreparationPlacementParticipant, SignatureRequestPreparationPlacementStaticCheckboxElement, SignatureRequestPreparationPlacementDataSourceElement, SignatureRequestPreparationPlacementStaticTextElement, SignatureRequestPreparationRect, SignatureRequestPreparationRenderStatus, SignatureRequestPreparationStatus, SignatureRequestPreparationTextElement, SignatureRoutingCapability, SignatureRoutingMode, SignatureTemporalDisplayPart, SignatureSingleRequestDialogProps, SignatureSingleRequestParticipant, SignatureSingleRequestParticipantAssignmentSource, SignatureSingleRequestParticipantCandidate, SignatureSingleRequestParticipantSubmission, SignatureSingleRequestPreparationReference, SignatureSingleRequestSubmission, } from './signature';
25
+ export interface NxBarChartProps {
26
+ data: Array<Record<string, unknown>>;
27
+ xKey: string;
28
+ series: Array<{
29
+ key: string;
30
+ label: string;
31
+ color: string;
32
+ }>;
33
+ stacked?: boolean;
34
+ height?: number;
35
+ valueFormatter?: (value: number) => string;
36
+ xTickFormatter?: (value: string) => string;
37
+ showLegend?: boolean;
38
+ ariaLabel?: string;
39
+ testId?: string;
40
+ }
41
+ export interface NxLineChartProps extends NxBarChartProps {
42
+ curve?: 'monotone' | 'linear';
43
+ showDots?: boolean;
44
+ }
45
+ export interface NxDonutChartProps {
46
+ segments: Array<{
47
+ key: string;
48
+ label: string;
49
+ value: number;
50
+ color: string;
51
+ }>;
52
+ centerLabel?: string;
53
+ height?: number;
54
+ valueFormatter?: (value: number) => string;
55
+ otherLabel?: string;
56
+ ariaLabel?: string;
57
+ testId?: string;
58
+ }
59
+ export interface NxHeatmapDatum {
60
+ x: string;
61
+ y: string;
62
+ value: number;
63
+ }
64
+ export interface NxHeatmapProps {
65
+ data: NxHeatmapDatum[];
66
+ xCategories: string[];
67
+ yCategories: string[];
68
+ min?: number;
69
+ max?: number;
70
+ lowColor?: string;
71
+ highColor?: string;
72
+ height?: number;
73
+ valueFormatter?: (value: number) => string;
74
+ showValues?: boolean;
75
+ ariaLabel?: string;
76
+ testId?: string;
77
+ }
78
+ export interface NxGaugeThreshold {
79
+ value: number;
80
+ color: string;
81
+ }
82
+ export interface NxGaugeProps {
83
+ value: number;
84
+ min?: number;
85
+ max?: number;
86
+ label?: string;
87
+ unit?: string;
88
+ color?: string;
89
+ thresholds?: NxGaugeThreshold[];
90
+ height?: number;
91
+ valueFormatter?: (value: number) => string;
92
+ ariaLabel?: string;
93
+ testId?: string;
94
+ }
95
+ export interface NxSankeyNode {
96
+ id: string;
97
+ label?: string;
98
+ color?: string;
99
+ }
100
+ export interface NxSankeyLink {
101
+ source: string;
102
+ target: string;
103
+ value: number;
104
+ }
105
+ export interface NxSankeyProps {
106
+ nodes: NxSankeyNode[];
107
+ links: NxSankeyLink[];
108
+ orientation?: 'horizontal' | 'vertical';
109
+ draggable?: boolean;
110
+ height?: number;
111
+ valueFormatter?: (value: number) => string;
112
+ ariaLabel?: string;
113
+ testId?: string;
114
+ }
115
+ export interface DateTimeFormatter {
116
+ locale: string;
117
+ timezone: string;
118
+ formatDateTime: (value: Date | string | null | undefined) => string;
119
+ formatDate: (value: Date | string | null | undefined) => string;
120
+ formatTime: (value: Date | string | null | undefined) => string;
121
+ }
122
+ export interface MutationFormErrorInput {
123
+ error: unknown;
124
+ t: (key: string, options?: Record<string, unknown>) => string;
125
+ fallback: string;
126
+ fieldLabel: (field: string) => string;
127
+ }
128
+ export interface UserInvitationPayload {
129
+ email?: string;
130
+ legal_entity_roles?: string[];
131
+ operating_unit_public_ids?: string[];
132
+ operating_unit_roles?: Record<string, string[]>;
133
+ role?: string;
134
+ person_party_public_id?: string;
135
+ }
136
+ export interface UserInvitationResponse {
137
+ invitation: unknown;
138
+ }
139
+ /** Host-owned Operating Unit management workspace embedded in an App route. */
140
+ export interface OperatingUnitManagementSurfaceProps {
141
+ testId?: string;
142
+ }
143
+ export interface FavoriteButtonProps {
144
+ target: FavoriteTarget;
145
+ size?: 'xs' | 'sm' | 'md';
146
+ testId?: string;
147
+ }
148
+ export interface NexiaAppFrontendHostBindings {
149
+ api: AxiosInstance;
150
+ components: {
151
+ AppRouteFrame: typeof AppRouteFrame;
152
+ InspectorAction: typeof InspectorAction;
153
+ InspectorResourceActions: typeof InspectorResourceActions;
154
+ NxAdaptiveSplit: typeof NxAdaptiveSplit;
155
+ NxActionButton: typeof NxActionButton;
156
+ NxAlert: typeof NxAlert;
157
+ NxButton: typeof NxButton;
158
+ NxLinkButton: ComponentType<NxLinkButtonProps>;
159
+ NxIconButton: ComponentType<NxIconButtonProps>;
160
+ NxIconLink: ComponentType<NxIconLinkProps>;
161
+ NxCanonicalRoutePane: ComponentType<NxCanonicalRoutePaneProps>;
162
+ NxCalendar: typeof NxCalendar;
163
+ NxBarChart: typeof NxBarChart;
164
+ NxCheckbox: typeof NxCheckbox;
165
+ NxColumnBrowser: typeof NxColumnBrowser;
166
+ NxColumnPicker: typeof NxColumnPicker;
167
+ NxCombobox: <TValue extends string | number>(props: NxComboboxProps<TValue>) => ReactNode;
168
+ NxOperatingUnitSelector: ComponentType<NxOperatingUnitSelectorProps>;
169
+ NxOrganizationTargetSelector: ComponentType<NxOrganizationTargetSelectorProps>;
170
+ NxDatePicker: ComponentType<NxDatePickerProps>;
171
+ NxDateRangePicker: ComponentType<NxDateRangePickerProps>;
172
+ NxDetailRow: typeof NxDetailRow;
173
+ NxDonutChart: typeof NxDonutChart;
174
+ NxGauge: typeof NxGauge;
175
+ NxHeatmap: typeof NxHeatmap;
176
+ NxDropdownMenu: typeof NxDropdownMenu;
177
+ NxEmptyView: typeof NxEmptyView;
178
+ NxFieldGroup: typeof NxFieldGroup;
179
+ NxFieldLegend: typeof NxFieldLegend;
180
+ NxFieldset: typeof NxFieldset;
181
+ NxFileDropzone: typeof NxFileDropzone;
182
+ FavoriteButton: ComponentType<FavoriteButtonProps>;
183
+ NxFormField: typeof NxFormField;
184
+ NxFormSection: typeof NxFormSection;
185
+ NxHelpTooltip: ComponentType<NxHelpTooltipProps>;
186
+ NxInsightFilterBar: typeof NxInsightFilterBar;
187
+ NxInsightSurface: typeof NxInsightSurface;
188
+ NxLineChart: typeof NxLineChart;
189
+ NxResourceScheduler: typeof NxResourceScheduler;
190
+ NxResourceImportDialog: ComponentType<NxResourceImportDialogProps>;
191
+ NxResourceFormLegalEntityField: ComponentType<NxResourceFormLegalEntityFieldProps>;
192
+ NxResourceInformationForm: <TViewContext, TEditContext>(props: NxResourceInformationFormProps<TViewContext, TEditContext>) => ReactNode;
193
+ NxResourceInformationView: <TViewContext, TEditContext>(props: NxResourceInformationViewProps<TViewContext, TEditContext>) => ReactNode;
194
+ NxResourceTransferActions: ComponentType<NxResourceTransferActionsProps>;
195
+ NxDatasetExportWorkspace: ComponentType<NxDatasetExportWorkspaceProps>;
196
+ NxDatasetImportWorkspace: ComponentType<NxDatasetImportWorkspaceProps>;
197
+ NxSpreadsheetEditor: ComponentType<NxSpreadsheetEditorProps>;
198
+ NxSankey: typeof NxSankey;
199
+ NxLoadingBlock: typeof NxLoadingBlock;
200
+ NxModalDialog: typeof NxModalDialog;
201
+ NxOrgChart: typeof NxOrgChart;
202
+ NxMissingRequiredReferencesAlert: typeof NxMissingRequiredReferencesAlert;
203
+ NxOverviewBand: typeof NxOverviewBand;
204
+ NxPageFrame: typeof NxPageFrame;
205
+ NxPagination: typeof NxPagination;
206
+ NxRadio: typeof NxRadio;
207
+ NxRadioGroup: typeof NxRadioGroup;
208
+ NxRefreshControl: ComponentType<NxRefreshControlProps>;
209
+ NxSearchField: typeof NxSearchField;
210
+ NxSectionCard: typeof NxSectionCard;
211
+ NxSectionStack: typeof NxSectionStack;
212
+ NxResponsiveRegion: typeof NxResponsiveRegion;
213
+ NxSelect: <TValue extends string | number>(props: NxSelectProps<TValue>) => ReactNode;
214
+ NxStatCard: typeof NxStatCard;
215
+ NxStatusBadge: typeof NxStatusBadge;
216
+ NxTabNav: typeof NxTabNav;
217
+ NxTextArea: typeof NxTextArea;
218
+ NxTextInput: typeof NxTextInput;
219
+ NxTooltip: ComponentType<NxTooltipProps>;
220
+ OperatingUnitManagementSurface: ComponentType<OperatingUnitManagementSurfaceProps>;
221
+ OperatingUnitScopeField: typeof OperatingUnitScopeField;
222
+ ResourceInspectorPanel: typeof ResourceInspectorPanel;
223
+ ResourceInspectorStackHost: typeof ResourceInspectorStackHost;
224
+ ResourceInspectorStackProvider: typeof ResourceInspectorStackProvider;
225
+ ResourceInspectorState: typeof ResourceInspectorState;
226
+ ResourceLink: ComponentType<ResourceLinkProps>;
227
+ ResourceBoard: typeof ResourceBoard;
228
+ ResourceListToolbarMoreMenu: <TValue extends string>(props: ResourceListToolbarMoreMenuProps<TValue>) => ReactNode;
229
+ ResourcePrimaryCell: typeof ResourcePrimaryCell;
230
+ ResourceRowActionsMenu: typeof ResourceRowActionsMenu;
231
+ ResourceStatusBadge: typeof ResourceStatusBadge;
232
+ ResourceSchedule: typeof ResourceSchedule;
233
+ ResourceTable: <T>(props: ResourceTableProps<T>) => ReactNode;
234
+ ResourceTextCell: typeof ResourceTextCell;
235
+ SignatureAuthenticationMethodSelector: ComponentType<SignatureAuthenticationMethodSelectorProps>;
236
+ SignatureInvitationChannelSelector: ComponentType<SignatureInvitationChannelSelectorProps>;
237
+ SignatureRequestPreparationEditor: ComponentType<SignatureRequestPreparationEditorProps>;
238
+ SignatureRequestPreparationExactPreview: ComponentType<SignatureRequestPreparationExactPreviewProps>;
239
+ SignatureRequestPreparationPlacementEditor: ComponentType<SignatureRequestPreparationPlacementEditorProps>;
240
+ SignatureSingleRequestDialog: ComponentType<SignatureSingleRequestDialogProps>;
241
+ WorkSection: typeof WorkSection;
242
+ WorkSurface: typeof WorkSurface;
243
+ };
244
+ hooks: {
245
+ useContextQuery: () => ContextQueryResult;
246
+ useAffiliatedOperatingUnits: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean) => OperatingUnitQueryResult;
247
+ useAgentToolDataFreshness: (options: AgentToolDataFreshnessInput) => AgentToolDataFreshnessResult;
248
+ useAgentToolDataInvalidation: (enabled?: boolean) => void;
249
+ useAssignableOperatingUnits: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean) => OperatingUnitQueryResult;
250
+ useAttachments: (tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined) => AttachmentQueryResult;
251
+ useApprovalRoutePoliciesQuery: (tenantId: string | undefined, legalEntityPublicId: string | null, enabled?: boolean) => ApprovalRoutePoliciesQueryResult;
252
+ useApprovalSharedLinesQuery: (tenantId: string | undefined, legalEntityPublicId: string | null, enabled?: boolean) => ApprovalSharedLinesQueryResult;
253
+ useDateTimeFormatter: (options?: UseDateTimeFormatterOptions) => DateTimeFormatter;
254
+ useDashboardWidgetAutoHeight: (widgetId: unknown) => DashboardWidgetAutoHeightRef;
255
+ useDebouncedValue: <T>(value: T, delayMs?: number) => T;
256
+ useDeleteAttachment: (tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined) => AttachmentDeleteResult;
257
+ useInsightFilterState: (options?: UseInsightFilterStateOptions) => InsightFilterControls;
258
+ useLegalEntitiesQuery: (tenantId: string | undefined) => LegalEntityQueryResult;
259
+ useLegalEntityApplicabilityQuery: (tenantId: string | undefined, permission: string, enabled?: boolean) => LegalEntityApplicabilityQueryResult;
260
+ useOrganizationTargetsQuery: (tenantId: string | undefined, permission: string, query?: OrganizationTargetQuery, enabled?: boolean) => OrganizationTargetQueryResult;
261
+ useOrganizationListScope: (tenantId: string | undefined, permission: string, mode?: OrganizationListScopeMode, enabled?: boolean) => OrganizationListScopeResult;
262
+ useLegalEntityMembersQuery: (tenantId: string | undefined, legalEntityPublicId: string | null, params?: LegalEntityMemberListParams, enabled?: boolean) => LegalEntityMemberQueryResult;
263
+ useActiveWorkTabId: () => string | null;
264
+ useIsActiveWorkTabVisible: () => boolean;
265
+ useMarkTabDirty: (dirty: boolean) => void;
266
+ useMessage: () => MessageApi;
267
+ useOpenResourceWorkTab: (defaultIcon?: string) => OpenResourceWorkTab;
268
+ useRegisterResourceCreateReceiver: (registration: ResourceCreateReceiverRegistration | null) => void;
269
+ useResourceCreateCompletion: () => ResourceCreateCompletion;
270
+ useOperatingUnitScope: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean) => OperatingUnitScopeResult;
271
+ useOperatingUnitSelection: (tenantId: string | undefined, legalEntityPublicId: string | null, permission: string, enabled?: boolean) => OperatingUnitSelectionResult;
272
+ useOperatingUnitsQuery: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, scope?: OperatingUnitQueryScope, permission?: string, enabled?: boolean) => OperatingUnitQueryResult;
273
+ useParties: (tenantId: string | undefined, params: PartyListParams, enabled?: boolean) => PartyQueryResult;
274
+ usePermissionsQuery: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, operatingUnitPublicId?: string | null, enabled?: boolean) => PermissionsQueryResult;
275
+ useResourceProjectionChange: (subscription: ResourceProjectionChangeSubscription) => void;
276
+ useRegisterTabActions: (actions: TabContextActionRegistration[] | null) => void;
277
+ useRegisterListLocateAction: <Row>(options: UseRegisterListLocateActionOptions<Row>) => void;
278
+ useResourceListParams: (options?: UseResourceListParamsOptions) => ResourceListParamsControls;
279
+ useTrustedAssetsQuery: (tenantId: string | undefined, legalEntityPublicId: string | null | undefined, params: TrustedAssetListParams, enabled?: boolean) => TrustedAssetsQueryResult;
280
+ useUploadAttachment: (tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined, options?: AttachmentUploadOptions) => AttachmentUploadResult;
281
+ useUploadFile: () => UploadFileClient;
282
+ useUploadMedia: (tenantId: string | undefined) => MediaUploadResult;
283
+ useWorkSurfaceLabels: (input: WorkSurfaceLabelInput) => WorkSurfaceLabels;
284
+ useWorkTabLabel: (label: string | null | undefined) => void;
285
+ };
286
+ runtime: {
287
+ autoRegisterPackageSurfaces: (options: AutoRegisterPackageSurfacesOptions) => void;
288
+ firstFieldError: (errors: FormFieldErrors | undefined, field: string) => string | null;
289
+ keepPreviousResourceListData: <TData>(queryScope: readonly unknown[]) => (previousData: TData | undefined, previousQuery: {
290
+ readonly queryKey: readonly unknown[];
291
+ } | undefined) => TData | undefined;
292
+ parseMutationFormError: (input: MutationFormErrorInput) => MutationFormError;
293
+ readResourceListParams: (searchParams: URLSearchParams, options?: UseResourceListParamsOptions) => ResourceListParams;
294
+ registerAgentComponent: (name: string, renderer: AgentComponentRenderer) => void;
295
+ registerLazyAgentComponent: (name: string, loader: () => Promise<{
296
+ default: AgentComponentRenderer;
297
+ }>) => void;
298
+ withoutFieldError: (errors: FormFieldErrors, field: string) => FormFieldErrors;
299
+ };
300
+ registries: {
301
+ approvalComposerBusinessFormRegistry: ApprovalBusinessFormRegistry;
302
+ dataMigrationRegistry: DataMigrationRegistry;
303
+ processUserTaskFormRegistry: ProcessUserTaskFormRegistry;
304
+ resourceCreateDestinationRegistry: ResourceCreateDestinationRegistry;
305
+ resourceInspectorAdapterRegistry: ResourceInspectorAdapterRegistry;
306
+ };
307
+ }
308
+ /**
309
+ * Installs the host implementation behind the public App frontend contract.
310
+ * Core calls this once before installed App entries execute.
311
+ */
312
+ export declare function configureNexiaAppFrontendHost(bindings: NexiaAppFrontendHostBindings): void;
313
+ /** Axios-compatible host client carrying the active shell CSRF configuration. */
314
+ export declare const api: AxiosInstance;
315
+ /**
316
+ * Polls Core's standard background-operation endpoint and cancels outstanding
317
+ * waits when the owning surface unmounts.
318
+ */
319
+ export declare function useDataMigrationBackgroundOperation(): DataMigrationBackgroundOperationClient;
320
+ export declare function AppRouteFrame(props: AppRouteFrameProps): ReactNode;
321
+ export declare function InspectorAction(props: InspectorActionProps): ReactNode;
322
+ export declare function InspectorResourceActions(props: InspectorResourceActionsProps): ReactNode;
323
+ export declare function ResourceLink(props: ResourceLinkProps): ReactNode;
324
+ export declare function NxAdaptiveSplit(props: NxAdaptiveSplitProps): ReactNode;
325
+ export declare function NxActionButton(props: NxActionButtonProps): ReactNode;
326
+ export declare function NxAlert(props: NxAlertProps): ReactNode;
327
+ export declare function NxButton(props: NxButtonProps): ReactNode;
328
+ export declare function NxLinkButton(props: NxLinkButtonProps): ReactNode;
329
+ export declare function NxIconButton(props: NxIconButtonProps): ReactNode;
330
+ export declare function NxIconLink(props: NxIconLinkProps): ReactNode;
331
+ /** Host-rendered action; Apps supply only a stable target. */
332
+ export declare function FavoriteButton(props: FavoriteButtonProps): ReactNode;
333
+ export declare function NxCalendar(props: NxCalendarProps): ReactNode;
334
+ export declare function NxBarChart(props: NxBarChartProps): ReactNode;
335
+ export declare function NxLineChart(props: NxLineChartProps): ReactNode;
336
+ export declare function NxInsightFilterBar(props: NxInsightFilterBarProps): ReactNode;
337
+ export declare function NxInsightSurface(props: NxInsightSurfaceProps): ReactNode;
338
+ export declare function NxOverviewBand(props: NxOverviewBandProps): ReactNode;
339
+ export declare function NxDonutChart(props: NxDonutChartProps): ReactNode;
340
+ export declare function NxGauge(props: NxGaugeProps): ReactNode;
341
+ export declare function NxHeatmap(props: NxHeatmapProps): ReactNode;
342
+ export declare function NxResourceScheduler(props: NxResourceSchedulerProps): ReactNode;
343
+ export declare function NxResourceFormLegalEntityField(props: NxResourceFormLegalEntityFieldProps): ReactNode;
344
+ export declare function NxResourceInformationForm<TViewContext, TEditContext>(props: NxResourceInformationFormProps<TViewContext, TEditContext>): ReactNode;
345
+ export declare function NxResourceInformationView<TViewContext, TEditContext>(props: NxResourceInformationViewProps<TViewContext, TEditContext>): ReactNode;
346
+ export declare function NxSankey(props: NxSankeyProps): ReactNode;
347
+ export declare function NxDropdownMenu(props: NxDropdownMenuProps): ReactNode;
348
+ export declare function NxCheckbox(props: NxCheckboxProps): ReactNode;
349
+ export declare function NxRadio(props: NxRadioProps): ReactNode;
350
+ export declare function NxRadioGroup(props: NxRadioGroupProps): ReactNode;
351
+ export declare function NxRefreshControl(props: NxRefreshControlProps): ReactNode;
352
+ export declare function NxColumnBrowser(props: NxColumnBrowserProps): ReactNode;
353
+ export declare function NxColumnPicker(props: NxColumnPickerProps): ReactNode;
354
+ export declare function NxCombobox<TValue extends string | number>(props: NxComboboxProps<TValue>): ReactNode;
355
+ export declare function NxOperatingUnitSelector(props: NxOperatingUnitSelectorProps): ReactNode;
356
+ export declare function NxOrganizationTargetSelector(props: NxOrganizationTargetSelectorProps): ReactNode;
357
+ export declare function NxDatePicker(props: NxDatePickerProps): ReactNode;
358
+ export declare function NxDateRangePicker(props: NxDateRangePickerProps): ReactNode;
359
+ export declare function NxDetailRow(props: NxDetailRowProps): ReactNode;
360
+ export declare function NxEmptyView(props: NxEmptyViewProps): ReactNode;
361
+ export declare function NxFieldGroup(props: NxFieldGroupProps): ReactNode;
362
+ export declare function NxFieldLegend(props: NxFieldLegendProps): ReactNode;
363
+ export declare function NxFieldset(props: NxFieldsetProps): ReactNode;
364
+ export declare function NxFileDropzone(props: NxFileDropzoneProps): ReactNode;
365
+ export declare function NxFormField(props: NxFormFieldProps): ReactNode;
366
+ export declare function NxFormSection(props: NxFormSectionProps): ReactNode;
367
+ export declare function NxHelpTooltip(props: NxHelpTooltipProps): ReactNode;
368
+ export declare function NxLoadingBlock(props: NxLoadingBlockProps): ReactNode;
369
+ export declare function NxModalDialog(props: NxModalDialogProps): ReactNode;
370
+ export declare function SignatureInvitationChannelSelector(props: SignatureInvitationChannelSelectorProps): ReactNode;
371
+ export declare function SignatureAuthenticationMethodSelector(props: SignatureAuthenticationMethodSelectorProps): ReactNode;
372
+ /** Renders Core's request-local editor through the public App host boundary. */
373
+ export declare function SignatureRequestPreparationEditor(props: SignatureRequestPreparationEditorProps): ReactNode;
374
+ /** Renders the protected exact-PDF review through the public App host boundary. */
375
+ export declare function SignatureRequestPreparationExactPreview(props: SignatureRequestPreparationExactPreviewProps): ReactNode;
376
+ /** Renders the placement-only request editor through the public App host boundary. */
377
+ export declare function SignatureRequestPreparationPlacementEditor(props: SignatureRequestPreparationPlacementEditorProps): ReactNode;
378
+ /** Renders Core's app-neutral single-request flow through the public host boundary. */
379
+ export declare function SignatureSingleRequestDialog(props: SignatureSingleRequestDialogProps): ReactNode;
380
+ export declare function NxCanonicalRoutePane(props: NxCanonicalRoutePaneProps): ReactNode;
381
+ export declare function NxOrgChart(props: NxOrgChartProps): ReactNode;
382
+ export declare function NxResourceImportDialog(props: NxResourceImportDialogProps): ReactNode;
383
+ export declare function NxResourceTransferActions(props: NxResourceTransferActionsProps): ReactNode;
384
+ export declare function NxDatasetImportWorkspace(props: NxDatasetImportWorkspaceProps): ReactNode;
385
+ export declare function NxDatasetExportWorkspace(props: NxDatasetExportWorkspaceProps): ReactNode;
386
+ export declare function NxMissingRequiredReferencesAlert(props: NxMissingRequiredReferencesAlertProps): ReactNode;
387
+ export declare function NxPageFrame(props: NxPageFrameProps): ReactNode;
388
+ export declare function NxResponsiveRegion(props: NxResponsiveRegionProps): ReactNode;
389
+ export declare function NxPagination(props: NxPaginationProps): ReactNode;
390
+ export declare function NxSearchField(props: NxSearchFieldProps): ReactNode;
391
+ export declare function NxSectionCard(props: NxSectionCardProps): ReactNode;
392
+ export declare function NxSectionStack(props: NxSectionStackProps): ReactNode;
393
+ export declare function NxSelect<TValue extends string | number>(props: NxSelectProps<TValue>): ReactNode;
394
+ export declare function NxStatCard(props: NxStatCardProps): ReactNode;
395
+ export declare function NxStatusBadge(props: NxStatusBadgeProps): ReactNode;
396
+ export declare function NxTabNav(props: NxTabNavProps): ReactNode;
397
+ export declare function NxTextArea(props: NxTextAreaProps): ReactNode;
398
+ export declare function NxTextInput(props: NxTextInputProps): ReactNode;
399
+ export declare function NxTooltip(props: NxTooltipProps): ReactNode;
400
+ export declare function OperatingUnitScopeField(props: OperatingUnitScopeFieldProps): ReactNode;
401
+ export declare function OperatingUnitManagementSurface(props: OperatingUnitManagementSurfaceProps): ReactNode;
402
+ export declare function ResourceInspectorPanel(props: ResourceInspectorPanelProps): ReactNode;
403
+ export declare function ResourceInspectorStackHost(props: ResourceInspectorStackHostProps): ReactNode;
404
+ export declare function ResourceInspectorStackProvider(props: ResourceInspectorStackProviderProps): ReactNode;
405
+ export declare function ResourceInspectorState(props: ResourceInspectorStateProps): ReactNode;
406
+ export declare function ResourceBoard(props: ResourceBoardProps): ReactNode;
407
+ export declare function ResourcePrimaryCell(props: ResourcePrimaryCellProps): ReactNode;
408
+ export declare function ResourceListToolbarMoreMenu<TValue extends string = string>(props: ResourceListToolbarMoreMenuProps<TValue>): ReactNode;
409
+ export declare function ResourceRowActionsMenu(props: ResourceRowActionsMenuProps): ReactNode;
410
+ export declare function ResourceStatusBadge(props: ResourceStatusBadgeProps): ReactNode;
411
+ export declare function ResourceSchedule(props: ResourceScheduleProps): ReactNode;
412
+ export declare function ResourceTable<T>(props: ResourceTableProps<T>): ReactNode;
413
+ export declare function ResourceTextCell(props: ResourceTextCellProps): ReactNode;
414
+ export declare function WorkSection(props: WorkSectionProps): ReactNode;
415
+ export declare function WorkSurface(props: WorkSurfaceProps): ReactNode;
416
+ export declare function useContextQuery(): ContextQueryResult;
417
+ export declare function useAffiliatedOperatingUnits(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean): OperatingUnitQueryResult;
418
+ export declare function useAgentToolDataInvalidation(enabled?: boolean): void;
419
+ export interface AgentToolDataFreshnessInput {
420
+ enabled: boolean;
421
+ refreshMs: number;
422
+ preview?: boolean;
423
+ }
424
+ export interface AgentToolDataFreshnessResult {
425
+ refetchInterval: number | false;
426
+ refetchOnWindowFocus: boolean;
427
+ staleTime: number;
428
+ }
429
+ /**
430
+ * The freshness half of a widget's useQuery options, resolved by the host.
431
+ * Polling pauses while the surrounding Work Tab is parked, the host enforces
432
+ * its dashboard-wide minimum cadence, and slower refresh hints are honored.
433
+ * Realtime invalidation is a shell-owned accelerator, not the cadence contract.
434
+ */
435
+ export declare function useAgentToolDataFreshness(options: AgentToolDataFreshnessInput): AgentToolDataFreshnessResult;
436
+ /**
437
+ * Stable identifier of the Work Tab that owns the surrounding App surface.
438
+ * Apps can use it to isolate session-only drafts that must survive a route-tree
439
+ * remount without leaking those drafts into durable browser storage.
440
+ */
441
+ export declare function useActiveWorkTabId(): string | null;
442
+ /**
443
+ * Whether the surrounding Work Tab is the visible pane rather than parked
444
+ * in the surface pool. Gate steady refetchInterval timers with this.
445
+ */
446
+ export declare function useIsActiveWorkTabVisible(): boolean;
447
+ export declare function useAssignableOperatingUnits(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean): OperatingUnitQueryResult;
448
+ export declare function useAttachments(tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined): AttachmentQueryResult;
449
+ /** Active-context Approval route-policy catalog for App-owned reference fields. */
450
+ export declare function useApprovalRoutePoliciesQuery(tenantId: string | undefined, legalEntityPublicId: string | null, enabled?: boolean): ApprovalRoutePoliciesQueryResult;
451
+ /** Shared approval lines always resolve from the stored record Legal Entity. */
452
+ export declare function useApprovalSharedLinesQuery(tenantId: string | undefined, legalEntityPublicId: string | null, enabled?: boolean): ApprovalSharedLinesQueryResult;
453
+ export declare function useDashboardWidgetAutoHeight(widgetId: unknown): DashboardWidgetAutoHeightRef;
454
+ export declare function useDebouncedValue<T>(value: T, delayMs?: number): T;
455
+ export declare function useDeleteAttachment(tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined): AttachmentDeleteResult;
456
+ export declare function useLegalEntitiesQuery(tenantId: string | undefined): LegalEntityQueryResult;
457
+ /** Active tenant catalog for tenant-owned record applicability; never a Shell switcher source. */
458
+ export declare function useLegalEntityApplicabilityQuery(tenantId: string | undefined, permission: string, enabled?: boolean): LegalEntityApplicabilityQueryResult;
459
+ /** Exact permission-authorized Legal Entity and Operating Unit targets for an App surface. */
460
+ export declare function useOrganizationTargetsQuery(tenantId: string | undefined, permission: string, query?: OrganizationTargetQuery, enabled?: boolean): OrganizationTargetQueryResult;
461
+ /** Page-owned read scope. Invalid or unavailable scope never supplies request parameters. */
462
+ export declare function useOrganizationListScope(tenantId: string | undefined, permission: string, mode?: OrganizationListScopeMode, enabled?: boolean): OrganizationListScopeResult;
463
+ /** Legal Entity-bounded member options for App-owned assignment fields. */
464
+ export declare function useLegalEntityMembersQuery(tenantId: string | undefined, legalEntityPublicId: string | null, params?: LegalEntityMemberListParams, enabled?: boolean): LegalEntityMemberQueryResult;
465
+ export declare function useOperatingUnitScope(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, permission: string, enabled?: boolean): OperatingUnitScopeResult;
466
+ export declare function useOperatingUnitSelection(tenantId: string | undefined, legalEntityPublicId: string | null, permission: string, enabled?: boolean): OperatingUnitSelectionResult;
467
+ export declare function useOperatingUnitsQuery(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, scope?: OperatingUnitQueryScope, permission?: string, enabled?: boolean): OperatingUnitQueryResult;
468
+ export declare function useParties(tenantId: string | undefined, params: PartyListParams, enabled?: boolean): PartyQueryResult;
469
+ export declare function useUploadAttachment(tenantId: string | undefined, attachableType: string, attachablePublicId: string | undefined, options?: AttachmentUploadOptions): AttachmentUploadResult;
470
+ /**
471
+ * Starts a host-issued upload intent. The host may proxy the bytes or send
472
+ * them directly to object storage; App code never selects the transport.
473
+ */
474
+ export declare function useUploadFile(): UploadFileClient;
475
+ /** Lists metadata for assets that the host can safely apply to a bound resource. */
476
+ export declare function useTrustedAssetsQuery(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, params: TrustedAssetListParams, enabled?: boolean): TrustedAssetsQueryResult;
477
+ /** Uploads a standalone Media resource through the configured Nexia host. */
478
+ export declare function useUploadMedia(tenantId: string | undefined): MediaUploadResult;
479
+ /** Sends a host-owned login invitation without exposing Core internals to an App. */
480
+ export declare function sendUserInvitation(payload: UserInvitationPayload): Promise<UserInvitationResponse>;
481
+ export declare function usePermissionsQuery(tenantId: string | undefined, legalEntityPublicId: string | null | undefined, operatingUnitPublicId?: string | null, enabled?: boolean): PermissionsQueryResult;
482
+ /** Refreshes App-owned state when its committed resource projection changes. */
483
+ export declare function useResourceProjectionChange(subscription: ResourceProjectionChangeSubscription): void;
484
+ export declare function useResourceListParams(options?: UseResourceListParamsOptions): ResourceListParamsControls;
485
+ /** URL-backed date range for an Insights destination. */
486
+ export declare function useInsightFilterState(options?: UseInsightFilterStateOptions): InsightFilterControls;
487
+ export interface UseDateTimeFormatterOptions {
488
+ fallback?: string;
489
+ dateFormat?: 'locale' | 'iso' | 'medium' | 'long';
490
+ timeFormat?: 'locale' | '12h' | '24h';
491
+ }
492
+ export declare function useDateTimeFormatter(options?: UseDateTimeFormatterOptions): DateTimeFormatter;
493
+ export declare function useMessage(): MessageApi;
494
+ export interface FeedbackMessage extends Pick<ToastOptions, 'description' | 'duration' | 'action'> {
495
+ title: string;
496
+ }
497
+ export type FeedbackMessageResolver<TValue, TArguments extends unknown[]> = string | FeedbackMessage | ((value: TValue, arguments_: TArguments) => string | FeedbackMessage);
498
+ export interface FeedbackUndoOptions<TResult, TArguments extends unknown[], TUndoResult = void> {
499
+ /** Label for the success Toast action, for example "Undo". */
500
+ label: string;
501
+ /**
502
+ * Performs the inverse operation once with the successful result and the
503
+ * exact argument tuple captured by the original invocation.
504
+ */
505
+ operation: (result: TResult, arguments_: TArguments) => Promise<TUndoResult> | TUndoResult;
506
+ /** Feedback shown after the inverse operation succeeds. */
507
+ success: FeedbackMessageResolver<TUndoResult, TArguments>;
508
+ /** Feedback shown after the inverse operation fails. */
509
+ error: FeedbackMessageResolver<unknown, TArguments>;
510
+ }
511
+ export interface UseFeedbackActionOptions<TResult, TArguments extends unknown[], TUndoResult = void> {
512
+ success: FeedbackMessageResolver<TResult, TArguments>;
513
+ error: FeedbackMessageResolver<unknown, TArguments>;
514
+ /**
515
+ * Optional one-shot inverse operation exposed on the success Toast. A
516
+ * custom `success` message action takes precedence because a Toast has one
517
+ * action slot; existing arbitrary actions therefore keep their behavior.
518
+ */
519
+ undo?: FeedbackUndoOptions<TResult, TArguments, TUndoResult>;
520
+ /**
521
+ * Stable, namespaced operation identity. Repeated outcomes refresh one
522
+ * toast. A hook-instance identity is used when this is omitted.
523
+ */
524
+ dedupeKey?: string;
525
+ }
526
+ export interface FeedbackAction<TResult, TArguments extends unknown[]> {
527
+ /**
528
+ * Runs at most one operation at a time. Failures are presented and resolve
529
+ * with an undefined result, making this safe for fire-and-forget UI event
530
+ * handlers.
531
+ */
532
+ run: (...arguments_: TArguments) => Promise<TResult | undefined>;
533
+ /** Runs the same boundary but preserves rejection for advanced workflows. */
534
+ runOrThrow: (...arguments_: TArguments) => Promise<TResult>;
535
+ pending: boolean;
536
+ }
537
+ /**
538
+ * Adds standard pending, duplicate-submission, and result feedback behavior to
539
+ * an App operation without exposing the Shell message store.
540
+ *
541
+ * @example
542
+ * const save = useFeedbackAction(saveEmployee, {
543
+ * success: 'Saved.',
544
+ * error: 'Could not save.',
545
+ * dedupeKey: 'employees:save',
546
+ * undo: {
547
+ * label: 'Undo',
548
+ * operation: (saved, [input]) => restoreEmployee(saved.id, input),
549
+ * success: 'Save undone.',
550
+ * error: 'Could not undo the save.',
551
+ * },
552
+ * });
553
+ *
554
+ * <NxActionButton
555
+ * kind="save"
556
+ * label="Save"
557
+ * loading={save.pending}
558
+ * onClick={() => void save.run(values)}
559
+ * />
560
+ */
561
+ export declare function useFeedbackAction<TResult, TArguments extends unknown[], TUndoResult = void>(operation: (...arguments_: TArguments) => Promise<TResult> | TResult, options: UseFeedbackActionOptions<TResult, TArguments, TUndoResult>): FeedbackAction<TResult, TArguments>;
562
+ export declare function useRegisterListLocateAction<Row>(options: UseRegisterListLocateActionOptions<Row>): void;
563
+ export declare function useOpenResourceWorkTab(defaultIcon?: string): OpenResourceWorkTab;
564
+ export declare function useRegisterResourceCreateReceiver(registration: ResourceCreateReceiverRegistration | null): void;
565
+ export declare function useResourceCreateCompletion(): ResourceCreateCompletion;
566
+ export declare function useMarkTabDirty(dirty: boolean): void;
567
+ export declare function useRegisterTabActions(actions: TabContextActionRegistration[] | null): void;
568
+ export declare function useWorkTabLabel(label: string | null | undefined): void;
569
+ export declare function useWorkSurfaceLabels(input: WorkSurfaceLabelInput): WorkSurfaceLabels;
570
+ export declare function autoRegisterPackageSurfaces(options: AutoRegisterPackageSurfacesOptions): void;
571
+ /**
572
+ * Declares the filesystem-owned inspector registration set for an App entry.
573
+ *
574
+ * Vite evaluates an eager `import.meta.glob` before passing the modules here;
575
+ * each generated registration module then registers its lazy inspector loader.
576
+ * Keeping the convention in the SDK means an App never needs to maintain a
577
+ * growing list of side-effect imports in its entry point.
578
+ */
579
+ export declare function autoRegisterPackageResourceInspectors(modules: Record<string, unknown>): void;
580
+ export declare function firstFieldError(errors: FormFieldErrors | undefined, field: string): string | null;
581
+ export declare function withoutFieldError(errors: FormFieldErrors, field: string): FormFieldErrors;
582
+ export declare function parseMutationFormError(input: MutationFormErrorInput): MutationFormError;
583
+ export declare function keepPreviousResourceListData<TData>(queryScope: readonly unknown[]): (previousData: TData | undefined, previousQuery: {
584
+ readonly queryKey: readonly unknown[];
585
+ } | undefined) => TData | undefined;
586
+ export declare function readResourceListParams(searchParams: URLSearchParams, options?: UseResourceListParamsOptions): ResourceListParams;
587
+ export declare function registerAgentComponent(name: string, renderer: AgentComponentRenderer): void;
588
+ /** Register an App-owned Agent renderer without placing it in the App entry chunk. */
589
+ export declare function registerLazyAgentComponent(name: string, loader: () => Promise<{
590
+ default: AgentComponentRenderer;
591
+ }>): void;
592
+ export declare function can(permissions: string[], permission: string): boolean;
593
+ export declare function serializeResourceTableSort(sort: ResourceTableSort): string;
594
+ export declare function serializeResourceTableSort(sort: ResourceTableSort | null | undefined): string | undefined;
595
+ export declare const approvalComposerBusinessFormRegistry: ApprovalBusinessFormRegistrar;
596
+ export declare const dataMigrationRegistry: DataMigrationRegistrar;
597
+ export declare const processUserTaskFormRegistry: ProcessUserTaskFormRegistrar;
598
+ /** Stable Resource-key resolver for cross-App contextual create flows. */
599
+ export declare const resourceCreateDestinationRegistry: Pick<ResourceCreateDestinationRegistry, 'register' | 'resolve'>;
600
+ export declare const resourceInspectorAdapterRegistry: ResourceInspectorAdapterRegistrar;
601
+ /** Shared spreadsheet editor; the caller owns document persistence. */
602
+ export declare function NxSpreadsheetEditor(props: NxSpreadsheetEditorProps): ReactNode;