UNPKG

@react-native-firebase/app

Version:

A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Sto

33 lines 1.97 kB
import type { DataUrlParts, Observer } from '../types/internal'; export * from './id'; export * from './path'; export * from './promise'; export * from './validate'; export { default as Base64 } from './Base64'; export { default as ReferenceBase } from './ReferenceBase'; export type { DataUrlParts, Observer }; export declare function getDataUrlParts(dataUrlString: string): DataUrlParts; export declare function once<T extends (...args: any[]) => any>(fn: T, context?: any): (...args: Parameters<T>) => ReturnType<T>; export declare function isError(value: any): value is Error; export declare function hasOwnProperty(target: object, property: string | symbol): boolean; /** * Remove a trailing forward slash from a string if it exists * * @param string * @returns {*} */ export declare function stripTrailingSlash(string: any): any; export declare const isIOS: boolean; export declare const isAndroid: boolean; export declare const isOther: boolean; export declare function tryJSONParse(string: string | null | undefined): any; export declare function tryJSONStringify(data: any): string | null; export declare function parseListenerOrObserver<T>(listenerOrObserver: ((value: T) => void) | Observer<T>): (value: T) => void; export declare function deprecationConsoleWarning(nameSpace: string, methodName: string, instanceName: string, isModularMethod: boolean): void; export declare function createMessage(nameSpace: string, methodName: string, instanceName?: string, uniqueMessage?: string | null): string | undefined; export declare function createDeprecationProxy<T extends object>(instance: T): T; export declare const MODULAR_DEPRECATION_ARG = "react-native-firebase-modular-method-call"; export declare function withModularFlag<T>(fn: () => T): T; export declare function filterModularArgument(list: any[]): any[]; export declare function warnIfNotModularCall(args: IArguments, replacementMethodName?: string): void; //# sourceMappingURL=index.d.ts.map