@@ -58,7 +58,7 @@ export class _FirebaseStorageImpl implements FirebaseStorage {
58
58
constructor (
59
59
app : FirebaseApp , _authProvider : Provider <FirebaseAuthInternalName >,
60
60
_appCheckProvider : Provider <AppCheckInternalComponentName >,
61
- _pool : ConnectionPool , _url ? : string | undefined , _firebaseVersion ? : string | undefined );
61
+ _url ? : string | undefined , _firebaseVersion ? : string | undefined );
62
62
readonly app: FirebaseApp ;
63
63
// (undocumented)
64
64
readonly _appCheckProvider: Provider <AppCheckInternalComponentName >;
@@ -79,23 +79,20 @@ export class _FirebaseStorageImpl implements FirebaseStorage {
79
79
get host(): string ;
80
80
set host(host : string );
81
81
// Warning: (ae-forgotten-export) The symbol "RequestInfo" needs to be exported by the entry point index.d.ts
82
+ // Warning: (ae-forgotten-export) The symbol "Connection" needs to be exported by the entry point index.d.ts
82
83
// Warning: (ae-forgotten-export) The symbol "Request" needs to be exported by the entry point index.d.ts
83
84
//
84
85
// (undocumented)
85
- _makeRequest<T >(requestInfo : RequestInfo_2 <T >, authToken : string | null , appCheckToken : string | null ): Request_2 <T >;
86
+ _makeRequest<I , O >(requestInfo : RequestInfo_2 <I , O >, requestFactory : () => Connection < I >, authToken : string | null , appCheckToken : string | null ): Request_2 <O >;
86
87
// (undocumented)
87
- makeRequestWithTokens<T >(requestInfo : RequestInfo_2 <T >) : Promise <Request_2 <T >>;
88
+ makeRequestWithTokens<I , O >(requestInfo : RequestInfo_2 <I , O >, requestFactory : () => Connection < I >) : Promise <Request_2 <O >>;
88
89
_makeStorageReference(loc : _Location ): _Reference ;
89
90
get maxOperationRetryTime(): number ;
90
91
set maxOperationRetryTime(time : number );
91
92
get maxUploadRetryTime(): number ;
92
93
set maxUploadRetryTime(time : number );
93
94
// (undocumented)
94
95
_overrideAuthToken? : string ;
95
- // Warning: (ae-forgotten-export) The symbol "ConnectionPool" needs to be exported by the entry point index.d.ts
96
- //
97
- // (undocumented)
98
- readonly _pool: ConnectionPool ;
99
96
// (undocumented)
100
97
readonly _url? : string | undefined ;
101
98
}
@@ -114,6 +111,12 @@ export interface FullMetadata extends UploadMetadata {
114
111
updated: string ;
115
112
}
116
113
114
+ // @public
115
+ export function getBlob(ref : StorageReference ): Promise <Blob >;
116
+
117
+ // @public
118
+ export function getBytes(ref : StorageReference ): Promise <ArrayBuffer >;
119
+
117
120
// @internal (undocumented)
118
121
export function _getChild(ref : StorageReference , childPath : string ): _Reference ;
119
122
0 commit comments