@raystack/frontier 0.33.2 → 0.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.33.2",
3
+ "version": "0.34.1",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -61,11 +61,10 @@
61
61
  "devDependencies": {
62
62
  "@jest/globals": "^29.7.0",
63
63
  "@radix-ui/react-icons": "^1.3.0",
64
- "@raystack/apsara": "^0.19.1",
64
+ "@raystack/apsara": "^0.20.4",
65
65
  "@raystack/eslint-config": "workspace:^",
66
66
  "@raystack/frontier-tsconfig": "workspace:^",
67
67
  "@size-limit/preset-small-lib": "^8.2.6",
68
- "@tanstack/react-table": "^8.10.1",
69
68
  "@types/jest": "^29.5.11",
70
69
  "@types/lodash": "^4.14.202",
71
70
  "@types/node": "^20.6.3",
@@ -88,7 +87,7 @@
88
87
  },
89
88
  "dependencies": {
90
89
  "@hookform/resolvers": "^3.3.1",
91
- "@tanstack/react-router": "0.0.1-beta.194",
90
+ "@tanstack/react-router": "1.58.17",
92
91
  "axios": "^1.6.0",
93
92
  "class-variance-authority": "^0.7.0",
94
93
  "dayjs": "^1.11.10",
@@ -103,7 +102,7 @@
103
102
  "yup": "^1.2.0"
104
103
  },
105
104
  "peerDependencies": {
106
- "@raystack/apsara": "^0.19.1",
105
+ "@raystack/apsara": "^0.20.4",
107
106
  "react": "^18.2.0"
108
107
  },
109
108
  "peerDependenciesMeta": {
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React, { ComponentPropsWithRef, Dispatch, SetStateAction } from 'react';
2
+ import React, { ComponentPropsWithRef, Dispatch, SetStateAction, PropsWithChildren } from 'react';
3
3
  import * as _tanstack_react_router from '@tanstack/react-router';
4
- import { Router, Route } from '@tanstack/react-router';
4
+ import { RouteComponent } from '@tanstack/react-router';
5
5
 
6
6
  interface AmountProps {
7
7
  value: number;
@@ -70,6 +70,12 @@ type CreateOrganizationProps = ComponentPropsWithRef<typeof Container> & {
70
70
  };
71
71
  declare const CreateOrganization: ({ title, description, ...props }: CreateOrganizationProps) => react_jsx_runtime.JSX.Element;
72
72
 
73
+ interface CustomScreen {
74
+ name: string;
75
+ path: string;
76
+ category: 'Organization' | 'User';
77
+ component: RouteComponent;
78
+ }
73
79
  interface OrganizationProfileProps {
74
80
  organizationId: string;
75
81
  defaultRoute?: string;
@@ -77,273 +83,71 @@ interface OrganizationProfileProps {
77
83
  showTokens?: boolean;
78
84
  showPreferences?: boolean;
79
85
  hideToast?: boolean;
86
+ customScreens?: CustomScreen[];
80
87
  }
81
- declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
82
- organizationId: string;
83
- showBilling?: boolean | undefined;
84
- showTokens?: boolean | undefined;
85
- hideToast?: boolean | undefined;
86
- showPreferences?: boolean | undefined;
87
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
88
- organizationId: string;
89
- showBilling?: boolean | undefined;
90
- showTokens?: boolean | undefined;
91
- hideToast?: boolean | undefined;
92
- showPreferences?: boolean | undefined;
93
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/delete", string, "/delete", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
94
- organizationId: string;
95
- showBilling?: boolean | undefined;
96
- showTokens?: boolean | undefined;
97
- hideToast?: boolean | undefined;
98
- showPreferences?: boolean | undefined;
99
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
100
- organizationId: string;
101
- showBilling?: boolean | undefined;
102
- showTokens?: boolean | undefined;
103
- hideToast?: boolean | undefined;
104
- showPreferences?: boolean | undefined;
105
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
106
- organizationId: string;
107
- showBilling?: boolean | undefined;
108
- showTokens?: boolean | undefined;
109
- hideToast?: boolean | undefined;
110
- showPreferences?: boolean | undefined;
111
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
112
- organizationId: string;
113
- showBilling?: boolean | undefined;
114
- showTokens?: boolean | undefined;
115
- hideToast?: boolean | undefined;
116
- showPreferences?: boolean | undefined;
117
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
118
- organizationId: string;
119
- showBilling?: boolean | undefined;
120
- showTokens?: boolean | undefined;
121
- hideToast?: boolean | undefined;
122
- showPreferences?: boolean | undefined;
123
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
124
- organizationId: string;
125
- showBilling?: boolean | undefined;
126
- showTokens?: boolean | undefined;
127
- hideToast?: boolean | undefined;
128
- showPreferences?: boolean | undefined;
129
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
130
- organizationId: string;
131
- showBilling?: boolean | undefined;
132
- showTokens?: boolean | undefined;
133
- hideToast?: boolean | undefined;
134
- showPreferences?: boolean | undefined;
135
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
136
- organizationId: string;
137
- showBilling?: boolean | undefined;
138
- showTokens?: boolean | undefined;
139
- hideToast?: boolean | undefined;
140
- showPreferences?: boolean | undefined;
141
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
142
- organizationId: string;
143
- showBilling?: boolean | undefined;
144
- showTokens?: boolean | undefined;
145
- hideToast?: boolean | undefined;
146
- showPreferences?: boolean | undefined;
147
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
148
- organizationId: string;
149
- showBilling?: boolean | undefined;
150
- showTokens?: boolean | undefined;
151
- hideToast?: boolean | undefined;
152
- showPreferences?: boolean | undefined;
153
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
154
- organizationId: string;
155
- showBilling?: boolean | undefined;
156
- showTokens?: boolean | undefined;
157
- hideToast?: boolean | undefined;
158
- showPreferences?: boolean | undefined;
159
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
160
- organizationId: string;
161
- showBilling?: boolean | undefined;
162
- showTokens?: boolean | undefined;
163
- hideToast?: boolean | undefined;
164
- showPreferences?: boolean | undefined;
165
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", {}, unknown, {}, {}, {
166
- domainId: string;
167
- }, {
168
- domainId: string;
169
- }, _tanstack_react_router.RouteContext, {
170
- organizationId: string;
171
- showBilling?: boolean | undefined;
172
- showTokens?: boolean | undefined;
173
- hideToast?: boolean | undefined;
174
- showPreferences?: boolean | undefined;
175
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
176
- organizationId: string;
177
- showBilling?: boolean | undefined;
178
- showTokens?: boolean | undefined;
179
- hideToast?: boolean | undefined;
180
- showPreferences?: boolean | undefined;
181
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", {}, unknown, {}, {}, {
182
- domainId: string;
183
- }, {
184
- domainId: string;
185
- }, _tanstack_react_router.RouteContext, {
186
- organizationId: string;
187
- showBilling?: boolean | undefined;
188
- showTokens?: boolean | undefined;
189
- hideToast?: boolean | undefined;
190
- showPreferences?: boolean | undefined;
191
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
192
- teamId: string;
193
- }, {
194
- teamId: string;
195
- }, _tanstack_react_router.RouteContext, {
196
- organizationId: string;
197
- showBilling?: boolean | undefined;
198
- showTokens?: boolean | undefined;
199
- hideToast?: boolean | undefined;
200
- showPreferences?: boolean | undefined;
201
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
202
- teamId: string;
203
- }, {
204
- teamId: string;
205
- }, _tanstack_react_router.RouteContext, {
206
- organizationId: string;
207
- showBilling?: boolean | undefined;
208
- showTokens?: boolean | undefined;
209
- hideToast?: boolean | undefined;
210
- showPreferences?: boolean | undefined;
211
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", {}, unknown, {}, {}, {}, {
212
- teamId: string;
213
- }, _tanstack_react_router.RouteContext, {
214
- organizationId: string;
215
- showBilling?: boolean | undefined;
216
- showTokens?: boolean | undefined;
217
- hideToast?: boolean | undefined;
218
- showPreferences?: boolean | undefined;
219
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
220
- teamId: string;
221
- }, {
222
- teamId: string;
223
- }, _tanstack_react_router.RouteContext, {
224
- organizationId: string;
225
- showBilling?: boolean | undefined;
226
- showTokens?: boolean | undefined;
227
- hideToast?: boolean | undefined;
228
- showPreferences?: boolean | undefined;
229
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", {}, unknown, {}, {}, {}, {
230
- teamId: string;
231
- }, _tanstack_react_router.RouteContext, {
232
- organizationId: string;
233
- showBilling?: boolean | undefined;
234
- showTokens?: boolean | undefined;
235
- hideToast?: boolean | undefined;
236
- showPreferences?: boolean | undefined;
237
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
238
- organizationId: string;
239
- showBilling?: boolean | undefined;
240
- showTokens?: boolean | undefined;
241
- hideToast?: boolean | undefined;
242
- showPreferences?: boolean | undefined;
243
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
244
- organizationId: string;
245
- showBilling?: boolean | undefined;
246
- showTokens?: boolean | undefined;
247
- hideToast?: boolean | undefined;
248
- showPreferences?: boolean | undefined;
249
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
250
- organizationId: string;
251
- showBilling?: boolean | undefined;
252
- showTokens?: boolean | undefined;
253
- hideToast?: boolean | undefined;
254
- showPreferences?: boolean | undefined;
255
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
256
- projectId: string;
257
- }, {
258
- projectId: string;
259
- }, _tanstack_react_router.RouteContext, {
260
- organizationId: string;
261
- showBilling?: boolean | undefined;
262
- showTokens?: boolean | undefined;
263
- hideToast?: boolean | undefined;
264
- showPreferences?: boolean | undefined;
265
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
266
- projectId: string;
267
- }, {
268
- projectId: string;
269
- }, _tanstack_react_router.RouteContext, {
270
- organizationId: string;
271
- showBilling?: boolean | undefined;
272
- showTokens?: boolean | undefined;
273
- hideToast?: boolean | undefined;
274
- showPreferences?: boolean | undefined;
275
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", {}, unknown, {}, {}, {}, {
276
- projectId: string;
277
- }, _tanstack_react_router.RouteContext, {
278
- organizationId: string;
279
- showBilling?: boolean | undefined;
280
- showTokens?: boolean | undefined;
281
- hideToast?: boolean | undefined;
282
- showPreferences?: boolean | undefined;
283
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
284
- organizationId: string;
285
- showBilling?: boolean | undefined;
286
- showTokens?: boolean | undefined;
287
- hideToast?: boolean | undefined;
288
- showPreferences?: boolean | undefined;
289
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
290
- organizationId: string;
291
- showBilling?: boolean | undefined;
292
- showTokens?: boolean | undefined;
293
- hideToast?: boolean | undefined;
294
- showPreferences?: boolean | undefined;
295
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
296
- organizationId: string;
297
- showBilling?: boolean | undefined;
298
- showTokens?: boolean | undefined;
299
- hideToast?: boolean | undefined;
300
- showPreferences?: boolean | undefined;
301
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
302
- organizationId: string;
303
- showBilling?: boolean | undefined;
304
- showTokens?: boolean | undefined;
305
- hideToast?: boolean | undefined;
306
- showPreferences?: boolean | undefined;
307
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/cycle-switch/$planId", "/billing/cycle-switch/$planId", string, "/billing/cycle-switch/$planId", {}, unknown, {}, {}, {
308
- planId: string;
309
- }, {
310
- planId: string;
311
- }, _tanstack_react_router.RouteContext, {
312
- organizationId: string;
313
- showBilling?: boolean | undefined;
314
- showTokens?: boolean | undefined;
315
- hideToast?: boolean | undefined;
316
- showPreferences?: boolean | undefined;
317
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
318
- organizationId: string;
319
- showBilling?: boolean | undefined;
320
- showTokens?: boolean | undefined;
321
- hideToast?: boolean | undefined;
322
- showPreferences?: boolean | undefined;
323
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
324
- organizationId: string;
325
- showBilling?: boolean | undefined;
326
- showTokens?: boolean | undefined;
327
- hideToast?: boolean | undefined;
328
- showPreferences?: boolean | undefined;
329
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", {}, unknown, {}, {}, {
330
- planId: string;
331
- }, {
332
- planId: string;
333
- }, _tanstack_react_router.RouteContext, {
334
- organizationId: string;
335
- showBilling?: boolean | undefined;
336
- showTokens?: boolean | undefined;
337
- hideToast?: boolean | undefined;
338
- showPreferences?: boolean | undefined;
339
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/tokens", "/tokens", string, "/tokens", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
340
- organizationId: string;
341
- showBilling?: boolean | undefined;
342
- showTokens?: boolean | undefined;
343
- hideToast?: boolean | undefined;
344
- showPreferences?: boolean | undefined;
345
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
346
- declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showPreferences, hideToast }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
88
+ interface CustomRoutes {
89
+ Organization: Pick<CustomScreen, 'name' | 'path'>[];
90
+ User: Pick<CustomScreen, 'name' | 'path'>[];
91
+ }
92
+
93
+ declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
94
+ customRoutes: CustomRoutes;
95
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
96
+ customRoutes: CustomRoutes;
97
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
98
+ customRoutes: CustomRoutes;
99
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/", "/", string, "/", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/delete", string, "/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
100
+ customRoutes: CustomRoutes;
101
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/security", "/security", string, "/security", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
102
+ customRoutes: CustomRoutes;
103
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
104
+ customRoutes: CustomRoutes;
105
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/members/modal", string, "/members/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
106
+ customRoutes: CustomRoutes;
107
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/members", "/members", string, "/members", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/remove-member/$memberId/$invited", "/members/remove-member/$memberId/$invited", string, "/members/remove-member/$memberId/$invited", undefined, Record<"memberId" | "invited", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
108
+ customRoutes: CustomRoutes;
109
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
110
+ customRoutes: CustomRoutes;
111
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams", "/teams", string, "/teams", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/teams/modal", string, "/teams/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
112
+ customRoutes: CustomRoutes;
113
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
114
+ customRoutes: CustomRoutes;
115
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/domains/modal", string, "/domains/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
116
+ customRoutes: CustomRoutes;
117
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
118
+ customRoutes: CustomRoutes;
119
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/domains", "/domains", string, "/domains", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", undefined, Record<"domainId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
120
+ customRoutes: CustomRoutes;
121
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
122
+ customRoutes: CustomRoutes;
123
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
124
+ customRoutes: CustomRoutes;
125
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", undefined, Record<"teamId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
126
+ customRoutes: CustomRoutes;
127
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
128
+ customRoutes: CustomRoutes;
129
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects", "/projects", string, "/projects", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/modal", "/projects/modal", string, "/projects/modal", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
130
+ customRoutes: CustomRoutes;
131
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
132
+ customRoutes: CustomRoutes;
133
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", undefined, Record<"projectId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
134
+ customRoutes: CustomRoutes;
135
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/profile", "/profile", string, "/profile", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
136
+ customRoutes: CustomRoutes;
137
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/preferences", "/preferences", string, "/preferences", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
138
+ customRoutes: CustomRoutes;
139
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
140
+ customRoutes: CustomRoutes;
141
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/billing", "/billing", string, "/billing", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/cycle-switch/$planId", "/billing/cycle-switch/$planId", string, "/billing/cycle-switch/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
142
+ customRoutes: CustomRoutes;
143
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, readonly [_tanstack_react_router.Route<_tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
144
+ customRoutes: CustomRoutes;
145
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/plans", "/plans", string, "/plans", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", undefined, Record<"planId", string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>]>, _tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
146
+ customRoutes: CustomRoutes;
147
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, "/tokens", "/tokens", string, "/tokens", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>, ..._tanstack_react_router.Route<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences"> & {
148
+ customRoutes: CustomRoutes;
149
+ }, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown, unknown>, string, "/", string, "__root__", undefined, Record<never, string>, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, _tanstack_react_router.AnyContext, {}, undefined, unknown>[]], unknown>, _tanstack_react_router.TrailingSlashOption, Record<string, any>, Record<string, any>>;
150
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, showBilling, showTokens, showPreferences, hideToast, customScreens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
347
151
  declare module '@tanstack/react-router' {
348
152
  interface Register {
349
153
  router: typeof router;
@@ -4733,4 +4537,9 @@ declare const useTokens: () => {
4733
4537
  isTokensLoading: boolean;
4734
4538
  };
4735
4539
 
4736
- export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier, useTokens };
4540
+ interface LayoutProps {
4541
+ title: string;
4542
+ }
4543
+ declare function Layout({ title, children }: PropsWithChildren<LayoutProps>): react_jsx_runtime.JSX.Element;
4544
+
4545
+ export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier, useTokens };