import type { Functions } from 'firebase/functions'; import type { HttpsCallableOptions, HttpsCallableStreamOptions } from './functions'; export interface FunctionsStreamingEventBody { data?: unknown; done?: boolean; error?: { code: string; message: string; details?: Record; }; } export interface FunctionsStreamingEvent { eventName: string; listenerId: number; body: FunctionsStreamingEventBody; } /** * Internal type for web Functions instance with additional internal properties. * Extends the Firebase Functions type to include properties that may be set * internally but are not part of the public API. */ export interface FunctionsWebInternal extends Functions { emulatorOrigin?: string; } /** * Internal type for custom https callable options. * Extends the HttpsCallableOptions type to include the httpsCallableStreamOptions property. */ export interface CustomHttpsCallableOptions extends HttpsCallableOptions { httpsCallableStreamOptions: HttpsCallableStreamOptions; } //# sourceMappingURL=internal.d.ts.map