diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-09 11:15:19 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-09 11:15:19 +0800 |
| commit | 8eff962cab608341a6f2fedc640a0e32d96f26e2 (patch) | |
| tree | 05534d1a720ddc3691d346c69b4972555820a061 /frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util | |
pain
Diffstat (limited to 'frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util')
16 files changed, 460 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/assert.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/assert.d.ts new file mode 100644 index 0000000..b877b42 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/assert.d.ts @@ -0,0 +1,94 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Auth } from '../../model/public_types'; +import { FirebaseError } from '@firebase/util'; +import { AuthErrorCode, AuthErrorParams } from '../errors'; +type LessAppName<K extends AuthErrorCode> = Omit<AuthErrorParams[K], 'appName'>; +/** + * Unconditionally fails, throwing a developer facing INTERNAL_ERROR + * + * @example + * ```javascript + * fail(auth, AuthErrorCode.MFA_REQUIRED); // Error: the MFA_REQUIRED error needs more params than appName + * fail(auth, AuthErrorCode.MFA_REQUIRED, {serverResponse}); // Compiles + * fail(AuthErrorCode.INTERNAL_ERROR); // Compiles; internal error does not need appName + * fail(AuthErrorCode.USER_DELETED); // Error: USER_DELETED requires app name + * fail(auth, AuthErrorCode.USER_DELETED); // Compiles; USER_DELETED _only_ needs app name + * ``` + * + * @param appName App name for tagging the error + * @throws FirebaseError + */ +export declare function _fail<K extends AuthErrorCode>(code: K, ...data: {} extends AuthErrorParams[K] ? [AuthErrorParams[K]?] : [AuthErrorParams[K]]): never; +export declare function _fail<K extends AuthErrorCode>(auth: Auth, code: K, ...data: {} extends LessAppName<K> ? [LessAppName<K>?] : [LessAppName<K>]): never; +export declare function _createError<K extends AuthErrorCode>(code: K, ...data: {} extends AuthErrorParams[K] ? [AuthErrorParams[K]?] : [AuthErrorParams[K]]): FirebaseError; +export declare function _createError<K extends AuthErrorCode>(auth: Auth, code: K, ...data: {} extends LessAppName<K> ? [LessAppName<K>?] : [LessAppName<K>]): FirebaseError; +export declare function _errorWithCustomMessage(auth: Auth, code: AuthErrorCode, message: string): FirebaseError; +export declare function _serverAppCurrentUserOperationNotSupportedError(auth: Auth): FirebaseError; +export declare function _assertInstanceOf(auth: Auth, object: object, instance: unknown): void; +export declare function _assert<K extends AuthErrorCode>(assertion: unknown, code: K, ...data: {} extends AuthErrorParams[K] ? [AuthErrorParams[K]?] : [AuthErrorParams[K]]): asserts assertion; +export declare function _assert<K extends AuthErrorCode>(assertion: unknown, auth: Auth, code: K, ...data: {} extends LessAppName<K> ? [LessAppName<K>?] : [LessAppName<K>]): asserts assertion; +type TypeExpectation = Function | string | MapType; +interface MapType extends Record<string, TypeExpectation | Optional> { +} +declare class Optional { + readonly type: TypeExpectation; + constructor(type: TypeExpectation); +} +export declare function opt(type: TypeExpectation): Optional; +/** + * Asserts the runtime types of arguments. The 'expected' field can be one of + * a class, a string (representing a "typeof" call), or a record map of name + * to type. Furthermore, the opt() function can be used to mark a field as + * optional. For example: + * + * function foo(auth: Auth, profile: {displayName?: string}, update = false) { + * assertTypes(arguments, [AuthImpl, {displayName: opt('string')}, opt('boolean')]); + * } + * + * opt() can be used for any type: + * function foo(auth?: Auth) { + * assertTypes(arguments, [opt(AuthImpl)]); + * } + * + * The string types can be or'd together, and you can use "null" as well (note + * that typeof null === 'object'; this is an edge case). For example: + * + * function foo(profile: {displayName?: string | null}) { + * assertTypes(arguments, [{displayName: opt('string|null')}]); + * } + * + * @param args + * @param expected + */ +export declare function assertTypes(args: Omit<IArguments, 'callee'>, ...expected: Array<TypeExpectation | Optional>): void; +/** + * Unconditionally fails, throwing an internal error with the given message. + * + * @param failure type of failure encountered + * @throws Error + */ +export declare function debugFail(failure: string): never; +/** + * Fails if the given assertion condition is false, throwing an Error with the + * given message if it did. + * + * @param assertion + * @param message + */ +export declare function debugAssert(assertion: unknown, message: string): asserts assertion; +export {}; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/browser.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/browser.d.ts new file mode 100644 index 0000000..f2abeb6 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/browser.d.ts @@ -0,0 +1,50 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Enums for Browser name. + */ +export declare const enum BrowserName { + ANDROID = "Android", + BLACKBERRY = "Blackberry", + EDGE = "Edge", + FIREFOX = "Firefox", + IE = "IE", + IEMOBILE = "IEMobile", + OPERA = "Opera", + OTHER = "Other", + CHROME = "Chrome", + SAFARI = "Safari", + SILK = "Silk", + WEBOS = "Webos" +} +/** + * Determine the browser for the purposes of reporting usage to the API + */ +export declare function _getBrowserName(userAgent: string): BrowserName | string; +export declare function _isFirefox(ua?: string): boolean; +export declare function _isSafari(userAgent?: string): boolean; +export declare function _isChromeIOS(ua?: string): boolean; +export declare function _isIEMobile(ua?: string): boolean; +export declare function _isAndroid(ua?: string): boolean; +export declare function _isBlackBerry(ua?: string): boolean; +export declare function _isWebOS(ua?: string): boolean; +export declare function _isIOS(ua?: string): boolean; +export declare function _isIOS7Or8(ua?: string): boolean; +export declare function _isIOSStandalone(ua?: string): boolean; +export declare function _isIE10(): boolean; +export declare function _isMobileBrowser(ua?: string): boolean; +export declare function _isIframe(): boolean; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/delay.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/delay.d.ts new file mode 100644 index 0000000..6358c7e --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/delay.d.ts @@ -0,0 +1,31 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare const enum DelayMin { + OFFLINE = 5000 +} +/** + * A structure to help pick between a range of long and short delay durations + * depending on the current environment. In general, the long delay is used for + * mobile environments whereas short delays are used for desktop environments. + */ +export declare class Delay { + private readonly shortDelay; + private readonly longDelay; + private readonly isMobile; + constructor(shortDelay: number, longDelay: number); + get(): number; +} diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/emulator.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/emulator.d.ts new file mode 100644 index 0000000..068c50a --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/emulator.d.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { ConfigInternal } from '../../model/auth'; +export declare function _emulatorUrl(config: ConfigInternal, path?: string): string; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/event_id.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/event_id.d.ts new file mode 100644 index 0000000..a235857 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/event_id.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare function _generateEventId(prefix?: string, digits?: number): string; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/fetch_provider.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/fetch_provider.d.ts new file mode 100644 index 0000000..b30fc05 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/fetch_provider.d.ts @@ -0,0 +1,25 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare class FetchProvider { + private static fetchImpl; + private static headersImpl; + private static responseImpl; + static initialize(fetchImpl: typeof fetch, headersImpl?: typeof Headers, responseImpl?: typeof Response): void; + static fetch(): typeof fetch; + static headers(): typeof Headers; + static response(): typeof Response; +} diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/handler.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/handler.d.ts new file mode 100644 index 0000000..d5ff063 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/handler.d.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { AuthProvider } from '../../model/public_types'; +import { AuthInternal } from '../../model/auth'; +import { AuthEventType } from '../../model/popup_redirect'; +export declare function _getRedirectUrl(auth: AuthInternal, provider: AuthProvider, authType: AuthEventType, redirectUrl?: string, eventId?: string, additionalParams?: Record<string, string>): Promise<string>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/instantiator.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/instantiator.d.ts new file mode 100644 index 0000000..33e7c95 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/instantiator.d.ts @@ -0,0 +1,28 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Our API has a lot of one-off constants that are used to do things. + * Unfortunately we can't export these as classes instantiated directly since + * the constructor may side effect and therefore can't be proven to be safely + * culled. Instead, we export these classes themselves as a lowerCamelCase + * constant, and instantiate them under the hood. + */ +export interface SingletonInstantiator<T> { + new (): T; +} +export declare function _getInstance<T>(cls: unknown): T; +export declare function _clearInstanceMap(): void; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/location.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/location.d.ts new file mode 100644 index 0000000..c79ac38 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/location.d.ts @@ -0,0 +1,19 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare function _getCurrentUrl(): string; +export declare function _isHttpOrHttps(): boolean; +export declare function _getCurrentScheme(): string | null; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/log.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/log.d.ts new file mode 100644 index 0000000..b65ea5c --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/log.d.ts @@ -0,0 +1,23 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { LogLevel } from '@firebase/logger'; +export { LogLevel }; +export declare function _getLogLevel(): LogLevel; +export declare function _setLogLevel(newLevel: LogLevel): void; +export declare function _logDebug(msg: string, ...args: string[]): void; +export declare function _logWarn(msg: string, ...args: string[]): void; +export declare function _logError(msg: string, ...args: string[]): void; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/navigator.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/navigator.d.ts new file mode 100644 index 0000000..ac91633 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/navigator.d.ts @@ -0,0 +1,21 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Determine whether the browser is working online + */ +export declare function _isOnline(): boolean; +export declare function _getUserLanguage(): string | null; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/providers.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/providers.d.ts new file mode 100644 index 0000000..c2ffdb3 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/providers.d.ts @@ -0,0 +1,23 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface ProviderAssociatedObject { + providerId?: string; +} +/** + * Takes a set of UserInfo provider data and converts it to a set of names + */ +export declare function providerDataAsNames<T extends ProviderAssociatedObject>(providerData: T[]): Set<string>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/resolver.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/resolver.d.ts new file mode 100644 index 0000000..e7c2c7c --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/resolver.d.ts @@ -0,0 +1,25 @@ +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { PopupRedirectResolver } from '../../model/public_types'; +import { AuthInternal } from '../../model/auth'; +import { PopupRedirectResolverInternal } from '../../model/popup_redirect'; +/** + * Chooses a popup/redirect resolver to use. This prefers the override (which + * is directly passed in), and falls back to the property set on the auth + * object. If neither are available, this function errors w/ an argument error. + */ +export declare function _withDefaultResolver(auth: AuthInternal, resolverOverride: PopupRedirectResolver | undefined): PopupRedirectResolverInternal; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/time.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/time.d.ts new file mode 100644 index 0000000..d82976e --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/time.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare function utcTimestampToDateString(utcTimestamp?: string | number): string | undefined; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/validate_origin.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/validate_origin.d.ts new file mode 100644 index 0000000..dde89b0 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/validate_origin.d.ts @@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { AuthInternal } from '../../model/auth'; +export declare function _validateOrigin(auth: AuthInternal): Promise<void>; diff --git a/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/version.d.ts b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/version.d.ts new file mode 100644 index 0000000..342ceb5 --- /dev/null +++ b/frontend-old/node_modules/@firebase/auth/dist/cordova/src/core/util/version.d.ts @@ -0,0 +1,31 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export declare const enum ClientImplementation { + CORE = "JsCore" +} +/** + * @internal + */ +export declare const enum ClientPlatform { + BROWSER = "Browser", + NODE = "Node", + REACT_NATIVE = "ReactNative", + CORDOVA = "Cordova", + WORKER = "Worker", + WEB_EXTENSION = "WebExtension" +} +export declare function _getClientVersion(clientPlatform: ClientPlatform, frameworks?: readonly string[]): string; |
