@intlayer/design-system 7.1.5 → 7.1.7

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 (89) hide show
  1. package/dist/esm/components/Browser/Browser.content.mjs +10 -5
  2. package/dist/esm/components/Browser/Browser.content.mjs.map +1 -1
  3. package/dist/esm/libs/auth.mjs.map +1 -1
  4. package/dist/types/components/Badge/index.d.ts +2 -2
  5. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  6. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
  7. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  8. package/dist/types/components/Browser/Browser.content.d.ts +21 -11
  9. package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
  10. package/dist/types/components/Button/Button.d.ts +2 -2
  11. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +5 -5
  12. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  13. package/dist/types/components/Command/index.d.ts +2 -2
  14. package/dist/types/components/Container/index.d.ts +7 -7
  15. package/dist/types/components/Container/index.d.ts.map +1 -1
  16. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  17. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  18. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  19. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  20. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
  21. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
  22. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  23. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  24. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  25. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  26. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  27. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  28. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  29. package/dist/types/components/Form/FormBase.d.ts +2 -2
  30. package/dist/types/components/Form/FormBase.d.ts.map +1 -1
  31. package/dist/types/components/Form/FormField.d.ts +2 -2
  32. package/dist/types/components/Form/FormField.d.ts.map +1 -1
  33. package/dist/types/components/Form/FormItem.d.ts +2 -2
  34. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  35. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  36. package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
  37. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  38. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  39. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  40. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  41. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  42. package/dist/types/components/IDE/code.content.d.ts +5 -5
  43. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  44. package/dist/types/components/Input/Checkbox.d.ts +4 -4
  45. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  46. package/dist/types/components/Input/Input.d.ts +3 -3
  47. package/dist/types/components/Input/Input.d.ts.map +1 -1
  48. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  49. package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
  50. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  51. package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
  52. package/dist/types/components/Link/Link.d.ts +3 -3
  53. package/dist/types/components/Link/Link.d.ts.map +1 -1
  54. package/dist/types/components/Loader/index.content.d.ts +3 -3
  55. package/dist/types/components/Loader/spinner.d.ts +2 -2
  56. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  57. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +6 -6
  58. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  59. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  60. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  61. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  62. package/dist/types/components/Navbar/index.d.ts +2 -2
  63. package/dist/types/components/Pagination/Pagination.d.ts +2 -2
  64. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  65. package/dist/types/components/Popover/static.d.ts +3 -3
  66. package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +2 -2
  67. package/dist/types/components/Select/Select.d.ts +3 -3
  68. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  69. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  70. package/dist/types/components/SwitchSelector/index.d.ts +5 -5
  71. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  72. package/dist/types/components/Tab/Tab.d.ts +5 -5
  73. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  74. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  75. package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
  76. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  77. package/dist/types/components/Table/table.content.d.ts +3 -3
  78. package/dist/types/components/Table/table.content.d.ts.map +1 -1
  79. package/dist/types/components/Tag/index.d.ts +4 -4
  80. package/dist/types/components/Toaster/Toast.d.ts +3 -3
  81. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  82. package/dist/types/hooks/reactQuery.d.ts +73 -1257
  83. package/dist/types/hooks/reactQuery.d.ts.map +1 -1
  84. package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
  85. package/dist/types/hooks/useUser/index.d.ts +1 -18
  86. package/dist/types/hooks/useUser/index.d.ts.map +1 -1
  87. package/dist/types/libs/auth.d.ts +5586 -2328
  88. package/dist/types/libs/auth.d.ts.map +1 -1
  89. package/package.json +16 -15
@@ -1,1303 +1,119 @@
1
- import * as intlayer0 from "intlayer";
2
- import * as _tanstack_react_query0 from "@tanstack/react-query";
1
+ import { GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, SearchDocUtilParams } from "@intlayer/backend";
3
2
  import { UseQueryOptions, useQueryClient } from "@tanstack/react-query";
4
- import * as _better_fetch_fetch681 from "@better-fetch/fetch";
5
- import * as better_auth46 from "better-auth";
6
- import * as inspector0 from "inspector";
7
- import * as _intlayer_backend0 from "@intlayer/backend";
8
- import { AddDictionaryBody, AddOrganizationMemberBody, AskDocQuestionBody, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, CreateUserBody, DeleteAccessKeyBody, DeleteDictionaryParam, DeleteTagParams, GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, NewsletterSubscriptionBody, NewsletterUnsubscriptionBody, PushDictionariesBody, RefreshAccessKeyBody, SearchDocUtilParams, SelectOrganizationParam, SelectProjectParam, TranslateJSONBody } from "@intlayer/backend";
9
- import * as intlayer_editor0 from "intlayer-editor";
10
- import { WriteContentDeclarationBody } from "intlayer-editor";
11
3
 
12
4
  //#region src/hooks/reactQuery.d.ts
13
5
  declare const useAppQuery: (options: UseQueryOptions & {
14
6
  requireUser?: boolean;
15
7
  requireProject?: boolean;
16
8
  requireOrganization?: boolean;
17
- }) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
9
+ }) => QueryObserverResult<TData, TError>;
18
10
  /**
19
11
  * Auth
20
12
  */
21
- declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
22
- data: {
23
- redirect: boolean;
24
- token: string;
25
- url: string | undefined;
26
- user: {
27
- id: string;
28
- email: string;
29
- name: string;
30
- image: string | null | undefined;
31
- emailVerified: boolean;
32
- createdAt: Date;
33
- updatedAt: Date;
34
- };
35
- };
36
- error: null;
37
- } | {
38
- data: null;
39
- error: {
40
- code?: string;
41
- message?: string;
42
- status: number;
43
- statusText: string;
44
- };
45
- }, Error, better_auth46.Prettify<{
46
- email: string;
47
- password: string;
48
- callbackURL?: string | undefined;
49
- rememberMe?: boolean | undefined;
50
- } & {
51
- fetchOptions?: {
52
- method?: string;
53
- headers?: HeadersInit & (HeadersInit | {
54
- accept: "application/json" | "text/plain" | "application/octet-stream";
55
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
56
- authorization: "Bearer" | "Basic";
57
- });
58
- cache?: RequestCache;
59
- credentials?: RequestCredentials;
60
- integrity?: string;
61
- keepalive?: boolean;
62
- mode?: RequestMode;
63
- priority?: RequestPriority;
64
- redirect?: RequestRedirect;
65
- referrer?: string;
66
- referrerPolicy?: ReferrerPolicy;
67
- signal?: AbortSignal | null;
68
- window?: null;
69
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
70
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
71
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
72
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
73
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
74
- hookOptions?: {
75
- cloneResponse?: boolean;
76
- };
77
- timeout?: number;
78
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
79
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
80
- baseURL?: string;
81
- throw?: boolean;
82
- auth?: {
83
- type: "Bearer";
84
- token: string | Promise<string> | (() => string | Promise<string>);
85
- } | {
86
- type: "Basic";
87
- username: string | (() => string);
88
- password: string | (() => string);
89
- } | {
90
- type: "Custom";
91
- prefix: string | (() => string);
92
- value: string | (() => string);
93
- };
94
- body?: Partial<{
95
- email: string;
96
- password: string;
97
- callbackURL?: string | undefined;
98
- rememberMe?: boolean | undefined;
99
- }> & Record<string, any>;
100
- query?: Partial<Record<string, any>> & Record<string, any>;
101
- params?: Record<string, any>;
102
- duplex?: "full" | "half";
103
- jsonParser?: (text: string) => Promise<any> | any;
104
- retry?: _better_fetch_fetch681.RetryOptions;
105
- retryAttempt?: number;
106
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
107
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
108
- disableValidation?: boolean;
109
- };
110
- }>, unknown>;
111
- declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationResult<{
112
- data: NonNullable<void | {
113
- status: boolean;
114
- user: {
115
- id: string;
116
- email: string;
117
- name: string;
118
- image: string | null | undefined;
119
- emailVerified: boolean;
120
- createdAt: Date;
121
- updatedAt: Date;
122
- };
123
- } | {
124
- status: boolean;
125
- user: null;
126
- }>;
127
- error: null;
128
- } | {
129
- data: null;
130
- error: {
131
- code?: string;
132
- message?: string;
133
- status: number;
134
- statusText: string;
135
- };
136
- }, Error, [better_auth46.Prettify<undefined>?, {
137
- method?: string;
138
- headers?: HeadersInit & (HeadersInit | {
139
- accept: "application/json" | "text/plain" | "application/octet-stream";
140
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
141
- authorization: "Bearer" | "Basic";
142
- });
143
- cache?: RequestCache;
144
- credentials?: RequestCredentials;
145
- integrity?: string;
146
- keepalive?: boolean;
147
- mode?: RequestMode;
148
- priority?: RequestPriority;
149
- redirect?: RequestRedirect;
150
- referrer?: string;
151
- referrerPolicy?: ReferrerPolicy;
152
- signal?: AbortSignal | null;
153
- window?: null;
154
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
155
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
156
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
157
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
158
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
159
- hookOptions?: {
160
- cloneResponse?: boolean;
161
- };
162
- timeout?: number;
163
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
164
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
165
- baseURL?: string;
166
- throw?: boolean;
167
- auth?: {
168
- type: "Bearer";
169
- token: string | Promise<string> | (() => string | Promise<string>);
170
- } | {
171
- type: "Basic";
172
- username: string | (() => string);
173
- password: string | (() => string);
174
- } | {
175
- type: "Custom";
176
- prefix: string | (() => string);
177
- value: string | (() => string);
178
- };
179
- body?: undefined;
180
- query?: Partial<{
181
- token: string;
182
- callbackURL?: string | undefined;
183
- }> & Record<string, any>;
184
- params?: Record<string, any>;
185
- duplex?: "full" | "half";
186
- jsonParser?: (text: string) => Promise<any> | any;
187
- retry?: _better_fetch_fetch681.RetryOptions;
188
- retryAttempt?: number;
189
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
190
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
191
- disableValidation?: boolean;
192
- }?], unknown>;
193
- declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
194
- data: NonNullable<{
195
- token: null;
196
- user: {
197
- id: string;
198
- email: string;
199
- name: string;
200
- image: string | null | undefined;
201
- emailVerified: boolean;
202
- createdAt: Date;
203
- updatedAt: Date;
204
- };
205
- } | {
206
- token: string;
207
- user: {
208
- id: string;
209
- email: string;
210
- name: string;
211
- image: string | null | undefined;
212
- emailVerified: boolean;
213
- createdAt: Date;
214
- updatedAt: Date;
215
- };
216
- }>;
217
- error: null;
218
- } | {
219
- data: null;
220
- error: {
221
- code?: string;
222
- message?: string;
223
- status: number;
224
- statusText: string;
225
- };
226
- }, Error, better_auth46.Prettify<{
227
- email: string;
228
- name: string;
229
- password: string;
230
- image?: string;
231
- callbackURL?: string;
232
- fetchOptions?: {
233
- method?: string;
234
- headers?: HeadersInit & (HeadersInit | {
235
- accept: "application/json" | "text/plain" | "application/octet-stream";
236
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
237
- authorization: "Bearer" | "Basic";
238
- });
239
- cache?: RequestCache;
240
- credentials?: RequestCredentials;
241
- integrity?: string;
242
- keepalive?: boolean;
243
- mode?: RequestMode;
244
- priority?: RequestPriority;
245
- redirect?: RequestRedirect;
246
- referrer?: string;
247
- referrerPolicy?: ReferrerPolicy;
248
- signal?: AbortSignal | null;
249
- window?: null;
250
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
251
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
252
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
253
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
254
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
255
- hookOptions?: {
256
- cloneResponse?: boolean;
257
- };
258
- timeout?: number;
259
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
260
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
261
- baseURL?: string;
262
- throw?: boolean;
263
- auth?: {
264
- type: "Bearer";
265
- token: string | Promise<string> | (() => string | Promise<string>);
266
- } | {
267
- type: "Basic";
268
- username: string | (() => string);
269
- password: string | (() => string);
270
- } | {
271
- type: "Custom";
272
- prefix: string | (() => string);
273
- value: string | (() => string);
274
- };
275
- body?: Partial<{
276
- name: string;
277
- email: string;
278
- password: string;
279
- image?: string;
280
- callbackURL?: string;
281
- rememberMe?: boolean;
282
- }> & Record<string, any>;
283
- query?: Partial<Record<string, any>> & Record<string, any>;
284
- params?: Record<string, any>;
285
- duplex?: "full" | "half";
286
- jsonParser?: (text: string) => Promise<any> | any;
287
- retry?: _better_fetch_fetch681.RetryOptions;
288
- retryAttempt?: number;
289
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
290
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
291
- disableValidation?: boolean;
292
- };
293
- } & {} & {}>, unknown>;
294
- declare const useLogout: () => _tanstack_react_query0.UseMutationResult<{
295
- data: {
296
- success: boolean;
297
- };
298
- error: null;
299
- } | {
300
- data: null;
301
- error: {
302
- code?: string;
303
- message?: string;
304
- status: number;
305
- statusText: string;
306
- };
307
- }, Error, void, unknown>;
308
- declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<{
309
- data: {
310
- token: string | null;
311
- user: {
312
- id: string;
313
- email: string;
314
- name: string;
315
- image: string | null | undefined;
316
- emailVerified: boolean;
317
- createdAt: Date;
318
- updatedAt: Date;
319
- };
320
- };
321
- error: null;
322
- } | {
323
- data: null;
324
- error: {
325
- code?: string;
326
- message?: string;
327
- status: number;
328
- statusText: string;
329
- };
330
- }, Error, [better_auth46.Prettify<{
331
- newPassword: string;
332
- currentPassword: string;
333
- revokeOtherSessions?: boolean | undefined;
334
- } & {
335
- fetchOptions?: {
336
- method?: string;
337
- headers?: HeadersInit & (HeadersInit | {
338
- accept: "application/json" | "text/plain" | "application/octet-stream";
339
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
340
- authorization: "Bearer" | "Basic";
341
- });
342
- cache?: RequestCache;
343
- credentials?: RequestCredentials;
344
- integrity?: string;
345
- keepalive?: boolean;
346
- mode?: RequestMode;
347
- priority?: RequestPriority;
348
- redirect?: RequestRedirect;
349
- referrer?: string;
350
- referrerPolicy?: ReferrerPolicy;
351
- signal?: AbortSignal | null;
352
- window?: null;
353
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
354
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
355
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
356
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
357
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
358
- hookOptions?: {
359
- cloneResponse?: boolean;
360
- };
361
- timeout?: number;
362
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
363
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
364
- baseURL?: string;
365
- throw?: boolean;
366
- auth?: {
367
- type: "Bearer";
368
- token: string | Promise<string> | (() => string | Promise<string>);
369
- } | {
370
- type: "Basic";
371
- username: string | (() => string);
372
- password: string | (() => string);
373
- } | {
374
- type: "Custom";
375
- prefix: string | (() => string);
376
- value: string | (() => string);
377
- };
378
- body?: Partial<{
379
- newPassword: string;
380
- currentPassword: string;
381
- revokeOtherSessions?: boolean | undefined;
382
- }> & Record<string, any>;
383
- query?: Partial<Record<string, any>> & Record<string, any>;
384
- params?: Record<string, any>;
385
- duplex?: "full" | "half";
386
- jsonParser?: (text: string) => Promise<any> | any;
387
- retry?: _better_fetch_fetch681.RetryOptions;
388
- retryAttempt?: number;
389
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
390
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
391
- disableValidation?: boolean;
392
- };
393
- }>, {
394
- method?: string;
395
- headers?: HeadersInit & (HeadersInit | {
396
- accept: "application/json" | "text/plain" | "application/octet-stream";
397
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
398
- authorization: "Bearer" | "Basic";
399
- });
400
- cache?: RequestCache;
401
- credentials?: RequestCredentials;
402
- integrity?: string;
403
- keepalive?: boolean;
404
- mode?: RequestMode;
405
- priority?: RequestPriority;
406
- redirect?: RequestRedirect;
407
- referrer?: string;
408
- referrerPolicy?: ReferrerPolicy;
409
- signal?: AbortSignal | null;
410
- window?: null;
411
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
412
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
413
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
414
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
415
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
416
- hookOptions?: {
417
- cloneResponse?: boolean;
418
- };
419
- timeout?: number;
420
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
421
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
422
- baseURL?: string;
423
- throw?: boolean;
424
- auth?: {
425
- type: "Bearer";
426
- token: string | Promise<string> | (() => string | Promise<string>);
427
- } | {
428
- type: "Basic";
429
- username: string | (() => string);
430
- password: string | (() => string);
431
- } | {
432
- type: "Custom";
433
- prefix: string | (() => string);
434
- value: string | (() => string);
435
- };
436
- body?: Partial<{
437
- newPassword: string;
438
- currentPassword: string;
439
- revokeOtherSessions?: boolean | undefined;
440
- }> & Record<string, any>;
441
- query?: Partial<Record<string, any>> & Record<string, any>;
442
- params?: Record<string, any>;
443
- duplex?: "full" | "half";
444
- jsonParser?: (text: string) => Promise<any> | any;
445
- retry?: _better_fetch_fetch681.RetryOptions;
446
- retryAttempt?: number;
447
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
448
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
449
- disableValidation?: boolean;
450
- }?], unknown>;
451
- declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResult<{
452
- data: {
453
- status: boolean;
454
- message: string;
455
- };
456
- error: null;
457
- } | {
458
- data: null;
459
- error: {
460
- code?: string;
461
- message?: string;
462
- status: number;
463
- statusText: string;
464
- };
465
- }, Error, better_auth46.Prettify<{
466
- email: string;
467
- redirectTo?: string | undefined;
468
- } & {
469
- fetchOptions?: {
470
- method?: string;
471
- headers?: HeadersInit & (HeadersInit | {
472
- accept: "application/json" | "text/plain" | "application/octet-stream";
473
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
474
- authorization: "Bearer" | "Basic";
475
- });
476
- cache?: RequestCache;
477
- credentials?: RequestCredentials;
478
- integrity?: string;
479
- keepalive?: boolean;
480
- mode?: RequestMode;
481
- priority?: RequestPriority;
482
- redirect?: RequestRedirect;
483
- referrer?: string;
484
- referrerPolicy?: ReferrerPolicy;
485
- signal?: AbortSignal | null;
486
- window?: null;
487
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
488
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
489
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
490
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
491
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
492
- hookOptions?: {
493
- cloneResponse?: boolean;
494
- };
495
- timeout?: number;
496
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
497
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
498
- baseURL?: string;
499
- throw?: boolean;
500
- auth?: {
501
- type: "Bearer";
502
- token: string | Promise<string> | (() => string | Promise<string>);
503
- } | {
504
- type: "Basic";
505
- username: string | (() => string);
506
- password: string | (() => string);
507
- } | {
508
- type: "Custom";
509
- prefix: string | (() => string);
510
- value: string | (() => string);
511
- };
512
- body?: Partial<{
513
- email: string;
514
- redirectTo?: string | undefined;
515
- }> & Record<string, any>;
516
- query?: Partial<Record<string, any>> & Record<string, any>;
517
- params?: Record<string, any>;
518
- duplex?: "full" | "half";
519
- jsonParser?: (text: string) => Promise<any> | any;
520
- retry?: _better_fetch_fetch681.RetryOptions;
521
- retryAttempt?: number;
522
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
523
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
524
- disableValidation?: boolean;
525
- };
526
- }>, unknown>;
527
- declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
528
- data: {
529
- status: boolean;
530
- };
531
- error: null;
532
- } | {
533
- data: null;
534
- error: {
535
- code?: string;
536
- message?: string;
537
- status: number;
538
- statusText: string;
539
- };
540
- }, Error, better_auth46.Prettify<{
541
- newPassword: string;
542
- token?: string | undefined;
543
- } & {
544
- fetchOptions?: {
545
- method?: string;
546
- headers?: HeadersInit & (HeadersInit | {
547
- accept: "application/json" | "text/plain" | "application/octet-stream";
548
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
549
- authorization: "Bearer" | "Basic";
550
- });
551
- cache?: RequestCache;
552
- credentials?: RequestCredentials;
553
- integrity?: string;
554
- keepalive?: boolean;
555
- mode?: RequestMode;
556
- priority?: RequestPriority;
557
- redirect?: RequestRedirect;
558
- referrer?: string;
559
- referrerPolicy?: ReferrerPolicy;
560
- signal?: AbortSignal | null;
561
- window?: null;
562
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
563
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
564
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
565
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
566
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
567
- hookOptions?: {
568
- cloneResponse?: boolean;
569
- };
570
- timeout?: number;
571
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
572
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
573
- baseURL?: string;
574
- throw?: boolean;
575
- auth?: {
576
- type: "Bearer";
577
- token: string | Promise<string> | (() => string | Promise<string>);
578
- } | {
579
- type: "Basic";
580
- username: string | (() => string);
581
- password: string | (() => string);
582
- } | {
583
- type: "Custom";
584
- prefix: string | (() => string);
585
- value: string | (() => string);
586
- };
587
- body?: Partial<{
588
- newPassword: string;
589
- token?: string | undefined;
590
- }> & Record<string, any>;
591
- query?: Partial<{
592
- token?: string | undefined;
593
- }> & Record<string, any>;
594
- params?: Record<string, any>;
595
- duplex?: "full" | "half";
596
- jsonParser?: (text: string) => Promise<any> | any;
597
- retry?: _better_fetch_fetch681.RetryOptions;
598
- retryAttempt?: number;
599
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
600
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
601
- disableValidation?: boolean;
602
- };
603
- }>, unknown>;
604
- declare const useVerifyEmail: () => _tanstack_react_query0.UseMutationResult<{
605
- data: NonNullable<void | {
606
- status: boolean;
607
- user: {
608
- id: string;
609
- email: string;
610
- name: string;
611
- image: string | null | undefined;
612
- emailVerified: boolean;
613
- createdAt: Date;
614
- updatedAt: Date;
615
- };
616
- } | {
617
- status: boolean;
618
- user: null;
619
- }>;
620
- error: null;
621
- } | {
622
- data: null;
623
- error: {
624
- code?: string;
625
- message?: string;
626
- status: number;
627
- statusText: string;
628
- };
629
- }, Error, better_auth46.Prettify<undefined>, unknown>;
630
- declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResult<{
631
- data: {
632
- user: packages_core_dist_oauth2.OAuth2UserInfo;
633
- data: Record<string, any>;
634
- };
635
- error: null;
636
- } | {
637
- data: null;
638
- error: {
639
- code?: string;
640
- message?: string;
641
- status: number;
642
- statusText: string;
643
- };
644
- }, Error, better_auth46.Prettify<{
645
- accountId: string;
646
- } & {
647
- fetchOptions?: {
648
- method?: string;
649
- headers?: HeadersInit & (HeadersInit | {
650
- accept: "application/json" | "text/plain" | "application/octet-stream";
651
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
652
- authorization: "Bearer" | "Basic";
653
- });
654
- cache?: RequestCache;
655
- credentials?: RequestCredentials;
656
- integrity?: string;
657
- keepalive?: boolean;
658
- mode?: RequestMode;
659
- priority?: RequestPriority;
660
- redirect?: RequestRedirect;
661
- referrer?: string;
662
- referrerPolicy?: ReferrerPolicy;
663
- signal?: AbortSignal | null;
664
- window?: null;
665
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
666
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
667
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
668
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
669
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
670
- hookOptions?: {
671
- cloneResponse?: boolean;
672
- };
673
- timeout?: number;
674
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
675
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
676
- baseURL?: string;
677
- throw?: boolean;
678
- auth?: {
679
- type: "Bearer";
680
- token: string | Promise<string> | (() => string | Promise<string>);
681
- } | {
682
- type: "Basic";
683
- username: string | (() => string);
684
- password: string | (() => string);
685
- } | {
686
- type: "Custom";
687
- prefix: string | (() => string);
688
- value: string | (() => string);
689
- };
690
- body?: Partial<{
691
- accountId: string;
692
- }> & Record<string, any>;
693
- query?: Partial<Record<string, any>> & Record<string, any>;
694
- params?: Record<string, any>;
695
- duplex?: "full" | "half";
696
- jsonParser?: (text: string) => Promise<any> | any;
697
- retry?: _better_fetch_fetch681.RetryOptions;
698
- retryAttempt?: number;
699
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
700
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
701
- disableValidation?: boolean;
702
- };
703
- }>, unknown>;
704
- declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult<{
705
- data: {
706
- totpURI: string;
707
- backupCodes: string[];
708
- };
709
- error: null;
710
- } | {
711
- data: null;
712
- error: {
713
- code?: string;
714
- message?: string;
715
- status: number;
716
- statusText: string;
717
- };
718
- }, Error, better_auth46.Prettify<{
719
- password: string;
720
- issuer?: string | undefined;
721
- } & {
722
- fetchOptions?: {
723
- method?: string;
724
- headers?: HeadersInit & (HeadersInit | {
725
- accept: "application/json" | "text/plain" | "application/octet-stream";
726
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
727
- authorization: "Bearer" | "Basic";
728
- });
729
- cache?: RequestCache;
730
- credentials?: RequestCredentials;
731
- integrity?: string;
732
- keepalive?: boolean;
733
- mode?: RequestMode;
734
- priority?: RequestPriority;
735
- redirect?: RequestRedirect;
736
- referrer?: string;
737
- referrerPolicy?: ReferrerPolicy;
738
- signal?: AbortSignal | null;
739
- window?: null;
740
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
741
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
742
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
743
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
744
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
745
- hookOptions?: {
746
- cloneResponse?: boolean;
747
- };
748
- timeout?: number;
749
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
750
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
751
- baseURL?: string;
752
- throw?: boolean;
753
- auth?: {
754
- type: "Bearer";
755
- token: string | Promise<string> | (() => string | Promise<string>);
756
- } | {
757
- type: "Basic";
758
- username: string | (() => string);
759
- password: string | (() => string);
760
- } | {
761
- type: "Custom";
762
- prefix: string | (() => string);
763
- value: string | (() => string);
764
- };
765
- body?: Partial<{
766
- password: string;
767
- issuer?: string | undefined;
768
- }> & Record<string, any>;
769
- query?: Partial<Record<string, any>> & Record<string, any>;
770
- params?: Record<string, any>;
771
- duplex?: "full" | "half";
772
- jsonParser?: (text: string) => Promise<any> | any;
773
- retry?: _better_fetch_fetch681.RetryOptions;
774
- retryAttempt?: number;
775
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
776
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
777
- disableValidation?: boolean;
778
- };
779
- }>, unknown>;
780
- declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResult<{
781
- data: {
782
- status: boolean;
783
- };
784
- error: null;
785
- } | {
786
- data: null;
787
- error: {
788
- code?: string;
789
- message?: string;
790
- status: number;
791
- statusText: string;
792
- };
793
- }, Error, better_auth46.Prettify<{
794
- password: string;
795
- } & {
796
- fetchOptions?: {
797
- method?: string;
798
- headers?: HeadersInit & (HeadersInit | {
799
- accept: "application/json" | "text/plain" | "application/octet-stream";
800
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
801
- authorization: "Bearer" | "Basic";
802
- });
803
- cache?: RequestCache;
804
- credentials?: RequestCredentials;
805
- integrity?: string;
806
- keepalive?: boolean;
807
- mode?: RequestMode;
808
- priority?: RequestPriority;
809
- redirect?: RequestRedirect;
810
- referrer?: string;
811
- referrerPolicy?: ReferrerPolicy;
812
- signal?: AbortSignal | null;
813
- window?: null;
814
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
815
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
816
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
817
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
818
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
819
- hookOptions?: {
820
- cloneResponse?: boolean;
821
- };
822
- timeout?: number;
823
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
824
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
825
- baseURL?: string;
826
- throw?: boolean;
827
- auth?: {
828
- type: "Bearer";
829
- token: string | Promise<string> | (() => string | Promise<string>);
830
- } | {
831
- type: "Basic";
832
- username: string | (() => string);
833
- password: string | (() => string);
834
- } | {
835
- type: "Custom";
836
- prefix: string | (() => string);
837
- value: string | (() => string);
838
- };
839
- body?: Partial<{
840
- password: string;
841
- }> & Record<string, any>;
842
- query?: Partial<Record<string, any>> & Record<string, any>;
843
- params?: Record<string, any>;
844
- duplex?: "full" | "half";
845
- jsonParser?: (text: string) => Promise<any> | any;
846
- retry?: _better_fetch_fetch681.RetryOptions;
847
- retryAttempt?: number;
848
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
849
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
850
- disableValidation?: boolean;
851
- };
852
- }>, unknown>;
853
- declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
854
- data: {
855
- token: string;
856
- user: {
857
- id: string;
858
- email: string;
859
- emailVerified: boolean;
860
- name: string;
861
- image: string | null | undefined;
862
- createdAt: Date;
863
- updatedAt: Date;
864
- };
865
- };
866
- error: null;
867
- } | {
868
- data: null;
869
- error: {
870
- code?: string;
871
- message?: string;
872
- status: number;
873
- statusText: string;
874
- };
875
- }, Error, better_auth46.Prettify<{
876
- code: string;
877
- trustDevice?: boolean | undefined;
878
- } & {
879
- fetchOptions?: {
880
- method?: string;
881
- headers?: HeadersInit & (HeadersInit | {
882
- accept: "application/json" | "text/plain" | "application/octet-stream";
883
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
884
- authorization: "Bearer" | "Basic";
885
- });
886
- cache?: RequestCache;
887
- credentials?: RequestCredentials;
888
- integrity?: string;
889
- keepalive?: boolean;
890
- mode?: RequestMode;
891
- priority?: RequestPriority;
892
- redirect?: RequestRedirect;
893
- referrer?: string;
894
- referrerPolicy?: ReferrerPolicy;
895
- signal?: AbortSignal | null;
896
- window?: null;
897
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
898
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
899
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
900
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
901
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
902
- hookOptions?: {
903
- cloneResponse?: boolean;
904
- };
905
- timeout?: number;
906
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
907
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
908
- baseURL?: string;
909
- throw?: boolean;
910
- auth?: {
911
- type: "Bearer";
912
- token: string | Promise<string> | (() => string | Promise<string>);
913
- } | {
914
- type: "Basic";
915
- username: string | (() => string);
916
- password: string | (() => string);
917
- } | {
918
- type: "Custom";
919
- prefix: string | (() => string);
920
- value: string | (() => string);
921
- };
922
- body?: Partial<{
923
- code: string;
924
- trustDevice?: boolean | undefined;
925
- }> & Record<string, any>;
926
- query?: Partial<Record<string, any>> & Record<string, any>;
927
- params?: Record<string, any>;
928
- duplex?: "full" | "half";
929
- jsonParser?: (text: string) => Promise<any> | any;
930
- retry?: _better_fetch_fetch681.RetryOptions;
931
- retryAttempt?: number;
932
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
933
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
934
- disableValidation?: boolean;
935
- };
936
- }>, unknown>;
937
- declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResult<{
938
- data: {
939
- token: string | undefined;
940
- user: {
941
- id: string;
942
- email: string;
943
- emailVerified: boolean;
944
- name: string;
945
- image: string | null | undefined;
946
- createdAt: Date;
947
- updatedAt: Date;
948
- };
949
- };
950
- error: null;
951
- } | {
952
- data: null;
953
- error: {
954
- code?: string;
955
- message?: string;
956
- status: number;
957
- statusText: string;
958
- };
959
- }, Error, better_auth46.Prettify<{
960
- code: string;
961
- disableSession?: boolean | undefined;
962
- trustDevice?: boolean | undefined;
963
- } & {
964
- fetchOptions?: {
965
- method?: string;
966
- headers?: HeadersInit & (HeadersInit | {
967
- accept: "application/json" | "text/plain" | "application/octet-stream";
968
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
969
- authorization: "Bearer" | "Basic";
970
- });
971
- cache?: RequestCache;
972
- credentials?: RequestCredentials;
973
- integrity?: string;
974
- keepalive?: boolean;
975
- mode?: RequestMode;
976
- priority?: RequestPriority;
977
- redirect?: RequestRedirect;
978
- referrer?: string;
979
- referrerPolicy?: ReferrerPolicy;
980
- signal?: AbortSignal | null;
981
- window?: null;
982
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
983
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
984
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
985
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
986
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
987
- hookOptions?: {
988
- cloneResponse?: boolean;
989
- };
990
- timeout?: number;
991
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
992
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
993
- baseURL?: string;
994
- throw?: boolean;
995
- auth?: {
996
- type: "Bearer";
997
- token: string | Promise<string> | (() => string | Promise<string>);
998
- } | {
999
- type: "Basic";
1000
- username: string | (() => string);
1001
- password: string | (() => string);
1002
- } | {
1003
- type: "Custom";
1004
- prefix: string | (() => string);
1005
- value: string | (() => string);
1006
- };
1007
- body?: Partial<{
1008
- code: string;
1009
- disableSession?: boolean | undefined;
1010
- trustDevice?: boolean | undefined;
1011
- }> & Record<string, any>;
1012
- query?: Partial<Record<string, any>> & Record<string, any>;
1013
- params?: Record<string, any>;
1014
- duplex?: "full" | "half";
1015
- jsonParser?: (text: string) => Promise<any> | any;
1016
- retry?: _better_fetch_fetch681.RetryOptions;
1017
- retryAttempt?: number;
1018
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
1019
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
1020
- disableValidation?: boolean;
1021
- };
1022
- }>, unknown>;
1023
- declare const useAddPasskey: () => _tanstack_react_query0.UseMutationResult<{
1024
- data: null;
1025
- error: {
1026
- message?: string | undefined;
1027
- status: number;
1028
- statusText: string;
1029
- };
1030
- } | {
1031
- data: null;
1032
- error: {
1033
- code: string;
1034
- message: string;
1035
- status: number;
1036
- statusText: string;
1037
- };
1038
- }, Error, {
1039
- fetchOptions?: _better_fetch_fetch681.BetterFetchOption;
1040
- name?: string;
1041
- authenticatorAttachment?: "platform" | "cross-platform";
1042
- useAutoRegister?: boolean;
1043
- }, unknown>;
1044
- declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
1045
- data: null;
1046
- error: {
1047
- message?: string | undefined;
1048
- status: number;
1049
- statusText: string;
1050
- };
1051
- } | {
1052
- data: {
1053
- session: inspector0.Session;
1054
- user: better_auth46.User;
1055
- };
1056
- error: null;
1057
- } | {
1058
- data: null;
1059
- error: {
1060
- code: string;
1061
- message: string;
1062
- status: number;
1063
- statusText: string;
1064
- };
1065
- }, Error, {
1066
- autoFill?: boolean;
1067
- fetchOptions?: _better_fetch_fetch681.BetterFetchOption;
1068
- }, unknown>;
1069
- declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
1070
- data: never;
1071
- error: null;
1072
- } | {
1073
- data: null;
1074
- error: {
1075
- code?: string;
1076
- message?: string;
1077
- status: number;
1078
- statusText: string;
1079
- };
1080
- }, Error, better_auth46.Prettify<{
1081
- id: string;
1082
- } & {
1083
- fetchOptions?: {
1084
- method?: string;
1085
- headers?: HeadersInit & (HeadersInit | {
1086
- accept: "application/json" | "text/plain" | "application/octet-stream";
1087
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
1088
- authorization: "Bearer" | "Basic";
1089
- });
1090
- cache?: RequestCache;
1091
- credentials?: RequestCredentials;
1092
- integrity?: string;
1093
- keepalive?: boolean;
1094
- mode?: RequestMode;
1095
- priority?: RequestPriority;
1096
- redirect?: RequestRedirect;
1097
- referrer?: string;
1098
- referrerPolicy?: ReferrerPolicy;
1099
- signal?: AbortSignal | null;
1100
- window?: null;
1101
- onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
1102
- onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
1103
- onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
1104
- onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
1105
- onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
1106
- hookOptions?: {
1107
- cloneResponse?: boolean;
1108
- };
1109
- timeout?: number;
1110
- customFetchImpl?: _better_fetch_fetch681.FetchEsque;
1111
- plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
1112
- baseURL?: string;
1113
- throw?: boolean;
1114
- auth?: {
1115
- type: "Bearer";
1116
- token: string | Promise<string> | (() => string | Promise<string>);
1117
- } | {
1118
- type: "Basic";
1119
- username: string | (() => string);
1120
- password: string | (() => string);
1121
- } | {
1122
- type: "Custom";
1123
- prefix: string | (() => string);
1124
- value: string | (() => string);
1125
- };
1126
- body?: Partial<{
1127
- id: string;
1128
- }> & Record<string, any>;
1129
- query?: Partial<Record<string, any>> & Record<string, any>;
1130
- params?: Record<string, any>;
1131
- duplex?: "full" | "half";
1132
- jsonParser?: (text: string) => Promise<any> | any;
1133
- retry?: _better_fetch_fetch681.RetryOptions;
1134
- retryAttempt?: number;
1135
- output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
1136
- errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
1137
- disableValidation?: boolean;
1138
- };
1139
- }>, unknown>;
1140
- declare const useListPasskeys: () => _tanstack_react_query0.UseQueryResult<any, Error>;
1141
- declare const useSignInMagicLink: () => _tanstack_react_query0.UseMutationResult<{
1142
- data: {
1143
- status: boolean;
1144
- };
1145
- error: null;
1146
- } | {
1147
- data: null;
1148
- error: {
1149
- code?: string;
1150
- message?: string;
1151
- status: number;
1152
- statusText: string;
1153
- };
1154
- }, Error, any, unknown>;
13
+ declare const useLogin: () => any;
14
+ declare const useGetVerifyEmailStatus: () => any;
15
+ declare const useRegister: () => any;
16
+ declare const useLogout: () => any;
17
+ declare const useChangePassword: () => any;
18
+ declare const useAskResetPassword: () => any;
19
+ declare const useResetPassword: () => any;
20
+ declare const useVerifyEmail: () => any;
21
+ declare const useGetUserByAccount: () => any;
22
+ declare const useEnableTwoFactor: () => any;
23
+ declare const useDisableTwoFactor: () => any;
24
+ declare const useVerifyTotp: () => any;
25
+ declare const useVerifyBackupCode: () => any;
26
+ declare const useAddPasskey: () => any;
27
+ declare const useSignInPasskey: () => any;
28
+ declare const useDeletePasskey: () => any;
29
+ declare const useListPasskeys: () => QueryObserverResult<TData, TError>;
30
+ declare const useSignInMagicLink: () => any;
1155
31
  /**
1156
32
  * User
1157
33
  */
1158
- declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1159
- declare const useGetUserById: (userId: string) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1160
- declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<CreateUserResult, Error, CreateUserBody, unknown>;
1161
- declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<UpdateUserResult, Error, Partial<{
1162
- name: string;
1163
- id: string;
1164
- createdAt: Date;
1165
- email: string;
1166
- updatedAt: Date;
1167
- emailVerified: boolean;
1168
- image?: string;
1169
- phone?: string;
1170
- dateOfBirth?: Date;
1171
- emailsList?: {
1172
- newsLetter: boolean;
1173
- };
1174
- customerId?: string;
1175
- role?: string;
1176
- lastLoginMethod?: "email" | "google" | "github" | "passkey";
1177
- lang?: string;
1178
- }>, unknown>;
1179
- declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<UpdateUserResult, Error, string, unknown>;
34
+ declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
35
+ declare const useGetUserById: (userId: string) => QueryObserverResult<TData, TError>;
36
+ declare const useCreateUser: () => any;
37
+ declare const useUpdateUser: () => any;
38
+ declare const useDeleteUser: () => any;
1180
39
  /**
1181
40
  * Organization
1182
41
  */
1183
- declare const useGetOrganizations: (filters?: GetOrganizationsParams) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1184
- declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<AddOrganizationResult, Error, _intlayer_backend0.OrganizationCreationData, unknown>;
1185
- declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<UpdateOrganizationResult, Error, Partial<_intlayer_backend0.Organization>, unknown>;
1186
- declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<UpdateOrganizationMembersResult, Error, Partial<{
1187
- membersIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
1188
- adminsIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
1189
- }>, unknown>;
1190
- declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<UpdateOrganizationMembersResult, Error, {
1191
- organizationId: string;
1192
- membersIds: string[];
1193
- adminsIds?: string[];
1194
- }, unknown>;
1195
- declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<AddOrganizationMemberResult, Error, AddOrganizationMemberBody, unknown>;
1196
- declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<DeleteOrganizationResult, Error, void, unknown>;
1197
- declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<SelectOrganizationResult, Error, SelectOrganizationParam, unknown>;
1198
- declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<UnselectOrganizationResult, Error, void, unknown>;
42
+ declare const useGetOrganizations: (filters?: GetOrganizationsParams) => QueryObserverResult<TData, TError>;
43
+ declare const useAddOrganization: () => any;
44
+ declare const useUpdateOrganization: () => any;
45
+ declare const useUpdateOrganizationMembers: () => any;
46
+ declare const useUpdateOrganizationMembersById: () => any;
47
+ declare const useAddOrganizationMember: () => any;
48
+ declare const useDeleteOrganization: () => any;
49
+ declare const useSelectOrganization: () => any;
50
+ declare const useUnselectOrganization: () => any;
1199
51
  /**
1200
52
  * Project
1201
53
  */
1202
- declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1203
- declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<AddProjectResult, Error, _intlayer_backend0.ProjectCreationData, unknown>;
1204
- declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<UpdateProjectResult, Error, Partial<{
1205
- organizationId: string;
1206
- name: string;
1207
- membersIds: string[];
1208
- adminsIds: string[];
1209
- creatorId: string;
1210
- configuration?: {
1211
- internationalization: {
1212
- locales: intlayer0.Locale[];
1213
- defaultLocale: intlayer0.Locale;
1214
- };
1215
- editor: {
1216
- applicationURL: string;
1217
- cmsURL: string;
1218
- };
1219
- };
1220
- id: string;
1221
- createdAt: number;
1222
- updatedAt: number;
1223
- oAuth2Access: {
1224
- name: string;
1225
- grants: string[];
1226
- expiresAt?: Date;
1227
- clientId: string;
1228
- clientSecret: string;
1229
- accessToken: string[];
1230
- userId: string;
1231
- id: string;
1232
- createdAt: number;
1233
- updatedAt: number;
1234
- }[];
1235
- }>, unknown>;
1236
- declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<UpdateProjectMembersResult, Error, Partial<{
1237
- membersIds: _intlayer_backend0.ProjectMemberByIdOption[];
1238
- }>, unknown>;
1239
- declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<DeleteProjectResult, Error, void, unknown>;
1240
- declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<SelectProjectResult, Error, SelectProjectParam, unknown>;
1241
- declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<UnselectProjectResult, Error, void, unknown>;
1242
- declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<AddNewAccessKeyResponse, Error, _intlayer_backend0.AccessKeyData, unknown>;
1243
- declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<DeleteAccessKeyResponse, Error, DeleteAccessKeyBody, unknown>;
1244
- declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<RefreshAccessKeyResponse, Error, RefreshAccessKeyBody, unknown>;
54
+ declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
55
+ declare const useAddProject: () => any;
56
+ declare const useUpdateProject: () => any;
57
+ declare const useUpdateProjectMembers: () => any;
58
+ declare const useDeleteProject: () => any;
59
+ declare const useSelectProject: () => any;
60
+ declare const useUnselectProject: () => any;
61
+ declare const useAddNewAccessKey: () => any;
62
+ declare const useDeleteAccessKey: () => any;
63
+ declare const useRefreshAccessKey: () => any;
1245
64
  /**
1246
65
  * Dictionary
1247
66
  */
1248
- declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1249
- declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1250
- declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1251
- declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<AddDictionaryResult, Error, AddDictionaryBody, unknown>;
1252
- declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<PushDictionariesResult, Error, PushDictionariesBody, unknown>;
1253
- declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<UpdateDictionaryResult, Error, Partial<_intlayer_backend0.Dictionary>, unknown>;
1254
- declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<DeleteDictionaryResult, Error, DeleteDictionaryParam, unknown>;
67
+ declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
68
+ declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
69
+ declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
70
+ declare const useAddDictionary: () => any;
71
+ declare const usePushDictionaries: () => any;
72
+ declare const useUpdateDictionary: () => any;
73
+ declare const useDeleteDictionary: () => any;
1255
74
  /**
1256
75
  * Tag
1257
76
  */
1258
- declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1259
- declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<AddTagResult, Error, _intlayer_backend0.TagCreationData, unknown>;
1260
- declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<UpdateTagResult, Error, {
1261
- tagId: string;
1262
- tag: any;
1263
- }, unknown>;
1264
- declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<DeleteTagResult, Error, DeleteTagParams, unknown>;
77
+ declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
78
+ declare const useAddTag: () => any;
79
+ declare const useUpdateTag: () => any;
80
+ declare const useDeleteTag: () => any;
1265
81
  /**
1266
82
  * Stripe
1267
83
  */
1268
- declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) => _tanstack_react_query0.UseQueryResult<GetPricingResult, Error>;
1269
- declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1270
- declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<GetCheckoutSessionResult, Error, void, unknown>;
84
+ declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) => QueryObserverResult<TData, TError>;
85
+ declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
86
+ declare const useCancelSubscription: () => any;
1271
87
  /**
1272
88
  * AI
1273
89
  */
1274
- declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<TranslateJSONResult, Error, TranslateJSONBody, unknown>;
1275
- declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<AuditContentDeclarationResult, Error, AuditContentDeclarationBody, unknown>;
1276
- declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<AuditContentDeclarationMetadataResult, Error, AuditContentDeclarationMetadataBody, unknown>;
1277
- declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<AuditContentDeclarationFieldResult, Error, AuditContentDeclarationFieldBody, unknown>;
1278
- declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<AuditTagResult, Error, AuditTagBody, unknown>;
1279
- declare const useAskDocQuestion: () => _tanstack_react_query0.UseMutationResult<void, Error, AskDocQuestionBody, unknown>;
1280
- declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<AutocompleteResponse, Error, AutocompleteBody, unknown>;
90
+ declare const useTranslateJSONDeclaration: () => any;
91
+ declare const useAuditContentDeclaration: () => any;
92
+ declare const useAuditContentDeclarationMetadata: () => any;
93
+ declare const useAuditContentDeclarationField: () => any;
94
+ declare const useAuditTag: () => any;
95
+ declare const useAskDocQuestion: () => any;
96
+ declare const useAutocomplete: () => any;
1281
97
  /**
1282
98
  * Discussions
1283
99
  */
1284
- declare const useGetDiscussions: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
1285
- declare const useGetDiscussionsData: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
100
+ declare const useGetDiscussions: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
101
+ declare const useGetDiscussionsData: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => QueryObserverResult<TData, TError>;
1286
102
  /**
1287
103
  * Search
1288
104
  */
1289
- declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<SearchDocUtilResult, Error>;
105
+ declare const useSearchDoc: (params: SearchDocUtilParams) => QueryObserverResult<TData, TError>;
1290
106
  /**
1291
107
  * Newsletter
1292
108
  */
1293
- declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<NewsletterSubscriptionResult, Error, NewsletterSubscriptionBody, unknown>;
1294
- declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<NewsletterSubscriptionResult, Error, NewsletterUnsubscriptionBody, unknown>;
1295
- declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<NewsletterSubscriptionResult, Error, void, unknown>;
109
+ declare const useSubscribeToNewsletter: () => any;
110
+ declare const useUnsubscribeFromNewsletter: () => any;
111
+ declare const useGetNewsletterStatus: () => any;
1296
112
  /**
1297
113
  * Editor
1298
114
  */
1299
- declare const useGetEditorDictionaries: () => _tanstack_react_query0.UseQueryResult<GetEditorDictionariesResult, Error>;
1300
- declare const useWriteDictionary: () => _tanstack_react_query0.UseMutationResult<intlayer_editor0.WriteContentDeclarationResult, Error, WriteContentDeclarationBody, unknown>;
115
+ declare const useGetEditorDictionaries: () => QueryObserverResult<TData, TError>;
116
+ declare const useWriteDictionary: () => any;
1301
117
  //#endregion
1302
118
  export { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeletePasskey, useDeleteProject, useDeleteTag, useDeleteUser, useDisableTwoFactor, useEnableTwoFactor, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useListPasskeys, useLogin, useLogout, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useSearchDoc, useSelectOrganization, useSelectProject, useSignInMagicLink, useSignInPasskey, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary };
1303
119
  //# sourceMappingURL=reactQuery.d.ts.map