@depup/firebase__app-check 0.11.1-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +31 -0
  2. package/changes.json +10 -0
  3. package/dist/app-check-public.d.ts +248 -0
  4. package/dist/app-check.d.ts +290 -0
  5. package/dist/esm/index.esm.js +1694 -0
  6. package/dist/esm/index.esm.js.map +1 -0
  7. package/dist/esm/package.json +1 -0
  8. package/dist/esm/src/api.d.ts +105 -0
  9. package/dist/esm/src/api.test.d.ts +17 -0
  10. package/dist/esm/src/client.d.ts +30 -0
  11. package/dist/esm/src/client.test.d.ts +17 -0
  12. package/dist/esm/src/constants.d.ts +40 -0
  13. package/dist/esm/src/debug.d.ts +22 -0
  14. package/dist/esm/src/debug.test.d.ts +17 -0
  15. package/dist/esm/src/errors.d.ts +66 -0
  16. package/dist/esm/src/factory.d.ts +31 -0
  17. package/dist/esm/src/index.d.ts +14 -0
  18. package/dist/esm/src/indexeddb.d.ts +22 -0
  19. package/dist/esm/src/internal-api.d.ts +44 -0
  20. package/dist/esm/src/internal-api.test.d.ts +17 -0
  21. package/dist/esm/src/logger.d.ts +18 -0
  22. package/dist/esm/src/proactive-refresh.d.ts +35 -0
  23. package/dist/esm/src/proactive-refresh.test.d.ts +17 -0
  24. package/dist/esm/src/providers.d.ts +108 -0
  25. package/dist/esm/src/providers.test.d.ts +17 -0
  26. package/dist/esm/src/public-types.d.ts +85 -0
  27. package/dist/esm/src/recaptcha.d.ts +43 -0
  28. package/dist/esm/src/recaptcha.test.d.ts +17 -0
  29. package/dist/esm/src/state.d.ts +54 -0
  30. package/dist/esm/src/storage.d.ts +27 -0
  31. package/dist/esm/src/storage.test.d.ts +17 -0
  32. package/dist/esm/src/types.d.ts +66 -0
  33. package/dist/esm/src/util.d.ts +21 -0
  34. package/dist/esm/test/setup.d.ts +17 -0
  35. package/dist/esm/test/util.d.ts +34 -0
  36. package/dist/index.cjs.js +1705 -0
  37. package/dist/index.cjs.js.map +1 -0
  38. package/dist/src/api.d.ts +105 -0
  39. package/dist/src/api.test.d.ts +17 -0
  40. package/dist/src/client.d.ts +30 -0
  41. package/dist/src/client.test.d.ts +17 -0
  42. package/dist/src/constants.d.ts +40 -0
  43. package/dist/src/debug.d.ts +22 -0
  44. package/dist/src/debug.test.d.ts +17 -0
  45. package/dist/src/errors.d.ts +66 -0
  46. package/dist/src/factory.d.ts +31 -0
  47. package/dist/src/index.d.ts +14 -0
  48. package/dist/src/indexeddb.d.ts +22 -0
  49. package/dist/src/internal-api.d.ts +44 -0
  50. package/dist/src/internal-api.test.d.ts +17 -0
  51. package/dist/src/logger.d.ts +18 -0
  52. package/dist/src/proactive-refresh.d.ts +35 -0
  53. package/dist/src/proactive-refresh.test.d.ts +17 -0
  54. package/dist/src/providers.d.ts +108 -0
  55. package/dist/src/providers.test.d.ts +17 -0
  56. package/dist/src/public-types.d.ts +85 -0
  57. package/dist/src/recaptcha.d.ts +43 -0
  58. package/dist/src/recaptcha.test.d.ts +17 -0
  59. package/dist/src/state.d.ts +54 -0
  60. package/dist/src/storage.d.ts +27 -0
  61. package/dist/src/storage.test.d.ts +17 -0
  62. package/dist/src/tsdoc-metadata.json +11 -0
  63. package/dist/src/types.d.ts +66 -0
  64. package/dist/src/util.d.ts +21 -0
  65. package/dist/test/setup.d.ts +17 -0
  66. package/dist/test/util.d.ts +34 -0
  67. package/package.json +94 -0
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # @depup/firebase__app-check
2
+
3
+ > Dependency-bumped version of [@firebase/app-check](https://www.npmjs.com/package/@firebase/app-check)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/firebase__app-check
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [@firebase/app-check](https://www.npmjs.com/package/@firebase/app-check) @ 0.11.1 |
17
+ | Processed | 2026-03-17 |
18
+ | Smoke test | failed |
19
+ | Deps updated | 1 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | tslib | ^2.1.0 | ^2.8.1 |
26
+
27
+ ---
28
+
29
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/@firebase/app-check
30
+
31
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "bumped": {
3
+ "tslib": {
4
+ "from": "^2.1.0",
5
+ "to": "^2.8.1"
6
+ }
7
+ },
8
+ "timestamp": "2026-03-17T16:32:05.579Z",
9
+ "totalUpdated": 1
10
+ }
@@ -0,0 +1,248 @@
1
+ /**
2
+ * The Firebase App Check Web SDK.
3
+ *
4
+ * @remarks
5
+ * Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or
6
+ * `ReCaptchaEnterpriseProvider`, but can be used in Node.js if you use
7
+ * `CustomProvider` and write your own attestation method.
8
+ *
9
+ * @packageDocumentation
10
+ */
11
+
12
+ import { FirebaseApp } from '@firebase/app';
13
+ import { PartialObserver } from '@firebase/util';
14
+ import { Unsubscribe } from '@firebase/util';
15
+
16
+ /**
17
+ * The Firebase App Check service interface.
18
+ *
19
+ * @public
20
+ */
21
+ export declare interface AppCheck {
22
+ /**
23
+ * The {@link @firebase/app#FirebaseApp} this `AppCheck` instance is associated with.
24
+ */
25
+ app: FirebaseApp;
26
+ }
27
+
28
+ /* Excluded from this release type: _AppCheckComponentName */
29
+
30
+ /* Excluded from this release type: _AppCheckInternalComponentName */
31
+
32
+ /**
33
+ * Options for App Check initialization.
34
+ * @public
35
+ */
36
+ export declare interface AppCheckOptions {
37
+ /**
38
+ * A reCAPTCHA V3 provider, reCAPTCHA Enterprise provider, or custom provider.
39
+ */
40
+ provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
41
+ /**
42
+ * If set to true, enables automatic background refresh of App Check token.
43
+ */
44
+ isTokenAutoRefreshEnabled?: boolean;
45
+ }
46
+
47
+ declare interface AppCheckProvider {
48
+ /* Excluded from this release type: getToken */
49
+ /* Excluded from this release type: initialize */
50
+ }
51
+
52
+ /**
53
+ * The token returned from an App Check provider.
54
+ * @public
55
+ */
56
+ export declare interface AppCheckToken {
57
+ readonly token: string;
58
+ /**
59
+ * The local timestamp after which the token will expire.
60
+ */
61
+ readonly expireTimeMillis: number;
62
+ }
63
+
64
+ declare interface AppCheckTokenInternal extends AppCheckToken {
65
+ issuedAtTimeMillis: number;
66
+ }
67
+
68
+ /**
69
+ * A listener that is called whenever the App Check token changes.
70
+ * @public
71
+ */
72
+ export declare type AppCheckTokenListener = (token: AppCheckTokenResult) => void;
73
+
74
+ /**
75
+ * Result returned by `getToken()`.
76
+ * @public
77
+ */
78
+ export declare interface AppCheckTokenResult {
79
+ /**
80
+ * The token string in JWT format.
81
+ */
82
+ readonly token: string;
83
+ }
84
+
85
+ /**
86
+ * Custom provider class.
87
+ * @public
88
+ */
89
+ export declare class CustomProvider implements AppCheckProvider {
90
+ private _customProviderOptions;
91
+ private _app?;
92
+ constructor(_customProviderOptions: CustomProviderOptions);
93
+ /* Excluded from this release type: getToken */
94
+ /* Excluded from this release type: initialize */
95
+ /* Excluded from this release type: isEqual */
96
+ }
97
+
98
+ /**
99
+ * Options when creating a {@link CustomProvider}.
100
+ * @public
101
+ */
102
+ export declare interface CustomProviderOptions {
103
+ /**
104
+ * Function to get an App Check token through a custom provider
105
+ * service.
106
+ */
107
+ getToken: () => Promise<AppCheckToken>;
108
+ }
109
+
110
+ /**
111
+ * Requests a Firebase App Check token. This method should be used
112
+ * only if you need to authorize requests to a non-Firebase backend.
113
+ *
114
+ * Returns limited-use tokens that are intended for use with your
115
+ * non-Firebase backend endpoints that are protected with
116
+ * <a href="https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection">
117
+ * Replay Protection</a>. This method
118
+ * does not affect the token generation behavior of the
119
+ * #getAppCheckToken() method.
120
+ *
121
+ * @param appCheckInstance - The App Check service instance.
122
+ * @returns The limited use token.
123
+ * @public
124
+ */
125
+ export declare function getLimitedUseToken(appCheckInstance: AppCheck): Promise<AppCheckTokenResult>;
126
+
127
+ /**
128
+ * Get the current App Check token. If `forceRefresh` is false, this function first
129
+ * checks for a valid token in memory, then local persistence (IndexedDB).
130
+ * If not found, or if `forceRefresh` is true, it makes a request to the
131
+ * App Check endpoint for a fresh token. That request attaches
132
+ * to the most recent in-flight request if one is present.
133
+ *
134
+ * @param appCheckInstance - The App Check service instance.
135
+ * @param forceRefresh - If true, will always try to fetch a fresh token.
136
+ * If false, will use a cached token if found in storage.
137
+ * @public
138
+ */
139
+ export declare function getToken(appCheckInstance: AppCheck, forceRefresh?: boolean): Promise<AppCheckTokenResult>;
140
+
141
+ /**
142
+ * Activate App Check for the given app. Can be called only once per app.
143
+ * @param app - the {@link @firebase/app#FirebaseApp} to activate App Check for
144
+ * @param options - App Check initialization options
145
+ * @public
146
+ */
147
+ export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
148
+
149
+ /**
150
+ * Registers a listener to changes in the token state. There can be more
151
+ * than one listener registered at the same time for one or more
152
+ * App Check instances. The listeners call back on the UI thread whenever
153
+ * the current token associated with this App Check instance changes.
154
+ *
155
+ * @param appCheckInstance - The App Check service instance.
156
+ * @param observer - An object with `next`, `error`, and `complete`
157
+ * properties. `next` is called with an
158
+ * {@link AppCheckTokenResult}
159
+ * whenever the token changes. `error` is optional and is called if an
160
+ * error is thrown by the listener (the `next` function). `complete`
161
+ * is unused, as the token stream is unending.
162
+ *
163
+ * @returns A function that unsubscribes this listener.
164
+ * @public
165
+ */
166
+ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: PartialObserver<AppCheckTokenResult>): Unsubscribe;
167
+
168
+ /**
169
+ * Registers a listener to changes in the token state. There can be more
170
+ * than one listener registered at the same time for one or more
171
+ * App Check instances. The listeners call back on the UI thread whenever
172
+ * the current token associated with this App Check instance changes.
173
+ *
174
+ * @param appCheckInstance - The App Check service instance.
175
+ * @param onNext - When the token changes, this function is called with an
176
+ * {@link AppCheckTokenResult}.
177
+ * @param onError - Optional. Called if there is an error thrown by the
178
+ * listener (the `onNext` function).
179
+ * @param onCompletion - Currently unused, as the token stream is unending.
180
+ * @returns A function that unsubscribes this listener.
181
+ * @public
182
+ */
183
+ export declare function onTokenChanged(appCheckInstance: AppCheck, onNext: (tokenResult: AppCheckTokenResult) => void, onError?: (error: Error) => void, onCompletion?: () => void): Unsubscribe;
184
+ export { PartialObserver }
185
+
186
+ /**
187
+ * App Check provider that can obtain a reCAPTCHA Enterprise token and exchange it
188
+ * for an App Check token.
189
+ *
190
+ * @public
191
+ */
192
+ export declare class ReCaptchaEnterpriseProvider implements AppCheckProvider {
193
+ private _siteKey;
194
+ private _app?;
195
+ private _heartbeatServiceProvider?;
196
+ /**
197
+ * Throttle requests on certain error codes to prevent too many retries
198
+ * in a short time.
199
+ */
200
+ private _throttleData;
201
+ /**
202
+ * Create a ReCaptchaEnterpriseProvider instance.
203
+ * @param siteKey - reCAPTCHA Enterprise score-based site key.
204
+ */
205
+ constructor(_siteKey: string);
206
+ /* Excluded from this release type: getToken */
207
+ /* Excluded from this release type: initialize */
208
+ /* Excluded from this release type: isEqual */
209
+ }
210
+
211
+ /**
212
+ * App Check provider that can obtain a reCAPTCHA V3 token and exchange it
213
+ * for an App Check token.
214
+ *
215
+ * @public
216
+ */
217
+ export declare class ReCaptchaV3Provider implements AppCheckProvider {
218
+ private _siteKey;
219
+ private _app?;
220
+ private _heartbeatServiceProvider?;
221
+ /**
222
+ * Throttle requests on certain error codes to prevent too many retries
223
+ * in a short time.
224
+ */
225
+ private _throttleData;
226
+ /**
227
+ * Create a ReCaptchaV3Provider instance.
228
+ * @param siteKey - ReCAPTCHA V3 siteKey.
229
+ */
230
+ constructor(_siteKey: string);
231
+ /* Excluded from this release type: getToken */
232
+ /* Excluded from this release type: initialize */
233
+ /* Excluded from this release type: isEqual */
234
+ }
235
+
236
+ /**
237
+ * Set whether App Check will automatically refresh tokens as needed.
238
+ *
239
+ * @param appCheckInstance - The App Check service instance.
240
+ * @param isTokenAutoRefreshEnabled - If true, the SDK automatically
241
+ * refreshes App Check tokens as needed. This overrides any value set
242
+ * during `initializeAppCheck()`.
243
+ * @public
244
+ */
245
+ export declare function setTokenAutoRefreshEnabled(appCheckInstance: AppCheck, isTokenAutoRefreshEnabled: boolean): void;
246
+ export { Unsubscribe }
247
+
248
+ export { }
@@ -0,0 +1,290 @@
1
+ /**
2
+ * The Firebase App Check Web SDK.
3
+ *
4
+ * @remarks
5
+ * Firebase App Check does not work in a Node.js environment using `ReCaptchaV3Provider` or
6
+ * `ReCaptchaEnterpriseProvider`, but can be used in Node.js if you use
7
+ * `CustomProvider` and write your own attestation method.
8
+ *
9
+ * @packageDocumentation
10
+ */
11
+
12
+ import { FirebaseApp } from '@firebase/app';
13
+ import { PartialObserver } from '@firebase/util';
14
+ import { Unsubscribe } from '@firebase/util';
15
+
16
+ /**
17
+ * The Firebase App Check service interface.
18
+ *
19
+ * @public
20
+ */
21
+ export declare interface AppCheck {
22
+ /**
23
+ * The {@link @firebase/app#FirebaseApp} this `AppCheck` instance is associated with.
24
+ */
25
+ app: FirebaseApp;
26
+ }
27
+
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare type _AppCheckComponentName = 'app-check';
32
+
33
+ /**
34
+ * @internal
35
+ */
36
+ export declare type _AppCheckInternalComponentName = 'app-check-internal';
37
+
38
+ /**
39
+ * Options for App Check initialization.
40
+ * @public
41
+ */
42
+ export declare interface AppCheckOptions {
43
+ /**
44
+ * A reCAPTCHA V3 provider, reCAPTCHA Enterprise provider, or custom provider.
45
+ */
46
+ provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
47
+ /**
48
+ * If set to true, enables automatic background refresh of App Check token.
49
+ */
50
+ isTokenAutoRefreshEnabled?: boolean;
51
+ }
52
+
53
+ declare interface AppCheckProvider {
54
+ /**
55
+ * Returns an App Check token.
56
+ * @internal
57
+ */
58
+ getToken: () => Promise<AppCheckTokenInternal>;
59
+ /**
60
+ * @internal
61
+ */
62
+ initialize(app: FirebaseApp): void;
63
+ }
64
+
65
+ /**
66
+ * The token returned from an App Check provider.
67
+ * @public
68
+ */
69
+ export declare interface AppCheckToken {
70
+ readonly token: string;
71
+ /**
72
+ * The local timestamp after which the token will expire.
73
+ */
74
+ readonly expireTimeMillis: number;
75
+ }
76
+
77
+ declare interface AppCheckTokenInternal extends AppCheckToken {
78
+ issuedAtTimeMillis: number;
79
+ }
80
+
81
+ /**
82
+ * A listener that is called whenever the App Check token changes.
83
+ * @public
84
+ */
85
+ export declare type AppCheckTokenListener = (token: AppCheckTokenResult) => void;
86
+
87
+ /**
88
+ * Result returned by `getToken()`.
89
+ * @public
90
+ */
91
+ export declare interface AppCheckTokenResult {
92
+ /**
93
+ * The token string in JWT format.
94
+ */
95
+ readonly token: string;
96
+ }
97
+
98
+ /**
99
+ * Custom provider class.
100
+ * @public
101
+ */
102
+ export declare class CustomProvider implements AppCheckProvider {
103
+ private _customProviderOptions;
104
+ private _app?;
105
+ constructor(_customProviderOptions: CustomProviderOptions);
106
+ /**
107
+ * @internal
108
+ */
109
+ getToken(): Promise<AppCheckTokenInternal>;
110
+ /**
111
+ * @internal
112
+ */
113
+ initialize(app: FirebaseApp): void;
114
+ /**
115
+ * @internal
116
+ */
117
+ isEqual(otherProvider: unknown): boolean;
118
+ }
119
+
120
+ /**
121
+ * Options when creating a {@link CustomProvider}.
122
+ * @public
123
+ */
124
+ export declare interface CustomProviderOptions {
125
+ /**
126
+ * Function to get an App Check token through a custom provider
127
+ * service.
128
+ */
129
+ getToken: () => Promise<AppCheckToken>;
130
+ }
131
+
132
+ /**
133
+ * Requests a Firebase App Check token. This method should be used
134
+ * only if you need to authorize requests to a non-Firebase backend.
135
+ *
136
+ * Returns limited-use tokens that are intended for use with your
137
+ * non-Firebase backend endpoints that are protected with
138
+ * <a href="https://firebase.google.com/docs/app-check/custom-resource-backend#replay-protection">
139
+ * Replay Protection</a>. This method
140
+ * does not affect the token generation behavior of the
141
+ * #getAppCheckToken() method.
142
+ *
143
+ * @param appCheckInstance - The App Check service instance.
144
+ * @returns The limited use token.
145
+ * @public
146
+ */
147
+ export declare function getLimitedUseToken(appCheckInstance: AppCheck): Promise<AppCheckTokenResult>;
148
+
149
+ /**
150
+ * Get the current App Check token. If `forceRefresh` is false, this function first
151
+ * checks for a valid token in memory, then local persistence (IndexedDB).
152
+ * If not found, or if `forceRefresh` is true, it makes a request to the
153
+ * App Check endpoint for a fresh token. That request attaches
154
+ * to the most recent in-flight request if one is present.
155
+ *
156
+ * @param appCheckInstance - The App Check service instance.
157
+ * @param forceRefresh - If true, will always try to fetch a fresh token.
158
+ * If false, will use a cached token if found in storage.
159
+ * @public
160
+ */
161
+ export declare function getToken(appCheckInstance: AppCheck, forceRefresh?: boolean): Promise<AppCheckTokenResult>;
162
+
163
+ /**
164
+ * Activate App Check for the given app. Can be called only once per app.
165
+ * @param app - the {@link @firebase/app#FirebaseApp} to activate App Check for
166
+ * @param options - App Check initialization options
167
+ * @public
168
+ */
169
+ export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
170
+
171
+ /**
172
+ * Registers a listener to changes in the token state. There can be more
173
+ * than one listener registered at the same time for one or more
174
+ * App Check instances. The listeners call back on the UI thread whenever
175
+ * the current token associated with this App Check instance changes.
176
+ *
177
+ * @param appCheckInstance - The App Check service instance.
178
+ * @param observer - An object with `next`, `error`, and `complete`
179
+ * properties. `next` is called with an
180
+ * {@link AppCheckTokenResult}
181
+ * whenever the token changes. `error` is optional and is called if an
182
+ * error is thrown by the listener (the `next` function). `complete`
183
+ * is unused, as the token stream is unending.
184
+ *
185
+ * @returns A function that unsubscribes this listener.
186
+ * @public
187
+ */
188
+ export declare function onTokenChanged(appCheckInstance: AppCheck, observer: PartialObserver<AppCheckTokenResult>): Unsubscribe;
189
+
190
+ /**
191
+ * Registers a listener to changes in the token state. There can be more
192
+ * than one listener registered at the same time for one or more
193
+ * App Check instances. The listeners call back on the UI thread whenever
194
+ * the current token associated with this App Check instance changes.
195
+ *
196
+ * @param appCheckInstance - The App Check service instance.
197
+ * @param onNext - When the token changes, this function is called with an
198
+ * {@link AppCheckTokenResult}.
199
+ * @param onError - Optional. Called if there is an error thrown by the
200
+ * listener (the `onNext` function).
201
+ * @param onCompletion - Currently unused, as the token stream is unending.
202
+ * @returns A function that unsubscribes this listener.
203
+ * @public
204
+ */
205
+ export declare function onTokenChanged(appCheckInstance: AppCheck, onNext: (tokenResult: AppCheckTokenResult) => void, onError?: (error: Error) => void, onCompletion?: () => void): Unsubscribe;
206
+ export { PartialObserver }
207
+
208
+ /**
209
+ * App Check provider that can obtain a reCAPTCHA Enterprise token and exchange it
210
+ * for an App Check token.
211
+ *
212
+ * @public
213
+ */
214
+ export declare class ReCaptchaEnterpriseProvider implements AppCheckProvider {
215
+ private _siteKey;
216
+ private _app?;
217
+ private _heartbeatServiceProvider?;
218
+ /**
219
+ * Throttle requests on certain error codes to prevent too many retries
220
+ * in a short time.
221
+ */
222
+ private _throttleData;
223
+ /**
224
+ * Create a ReCaptchaEnterpriseProvider instance.
225
+ * @param siteKey - reCAPTCHA Enterprise score-based site key.
226
+ */
227
+ constructor(_siteKey: string);
228
+ /**
229
+ * Returns an App Check token.
230
+ * @internal
231
+ */
232
+ getToken(): Promise<AppCheckTokenInternal>;
233
+ /**
234
+ * @internal
235
+ */
236
+ initialize(app: FirebaseApp): void;
237
+ /**
238
+ * @internal
239
+ */
240
+ isEqual(otherProvider: unknown): boolean;
241
+ }
242
+
243
+ /**
244
+ * App Check provider that can obtain a reCAPTCHA V3 token and exchange it
245
+ * for an App Check token.
246
+ *
247
+ * @public
248
+ */
249
+ export declare class ReCaptchaV3Provider implements AppCheckProvider {
250
+ private _siteKey;
251
+ private _app?;
252
+ private _heartbeatServiceProvider?;
253
+ /**
254
+ * Throttle requests on certain error codes to prevent too many retries
255
+ * in a short time.
256
+ */
257
+ private _throttleData;
258
+ /**
259
+ * Create a ReCaptchaV3Provider instance.
260
+ * @param siteKey - ReCAPTCHA V3 siteKey.
261
+ */
262
+ constructor(_siteKey: string);
263
+ /**
264
+ * Returns an App Check token.
265
+ * @internal
266
+ */
267
+ getToken(): Promise<AppCheckTokenInternal>;
268
+ /**
269
+ * @internal
270
+ */
271
+ initialize(app: FirebaseApp): void;
272
+ /**
273
+ * @internal
274
+ */
275
+ isEqual(otherProvider: unknown): boolean;
276
+ }
277
+
278
+ /**
279
+ * Set whether App Check will automatically refresh tokens as needed.
280
+ *
281
+ * @param appCheckInstance - The App Check service instance.
282
+ * @param isTokenAutoRefreshEnabled - If true, the SDK automatically
283
+ * refreshes App Check tokens as needed. This overrides any value set
284
+ * during `initializeAppCheck()`.
285
+ * @public
286
+ */
287
+ export declare function setTokenAutoRefreshEnabled(appCheckInstance: AppCheck, isTokenAutoRefreshEnabled: boolean): void;
288
+ export { Unsubscribe }
289
+
290
+ export { }