Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / grpc-cloned / node_modules / @grpc / grpc-js / build / src / call-credentials-filter.d.ts
diff --git a/legacy-libs/grpc-cloned/node_modules/@grpc/grpc-js/build/src/call-credentials-filter.d.ts b/legacy-libs/grpc-cloned/node_modules/@grpc/grpc-js/build/src/call-credentials-filter.d.ts
new file mode 100644 (file)
index 0000000..c15735a
--- /dev/null
@@ -0,0 +1,16 @@
+import { Call } from './call-stream';
+import { Http2Channel } from './channel';
+import { BaseFilter, Filter, FilterFactory } from './filter';
+import { Metadata } from './metadata';
+export declare class CallCredentialsFilter extends BaseFilter implements Filter {
+    private readonly channel;
+    private readonly stream;
+    private serviceUrl;
+    constructor(channel: Http2Channel, stream: Call);
+    sendMetadata(metadata: Promise<Metadata>): Promise<Metadata>;
+}
+export declare class CallCredentialsFilterFactory implements FilterFactory<CallCredentialsFilter> {
+    private readonly channel;
+    constructor(channel: Http2Channel);
+    createFilter(callStream: Call): CallCredentialsFilter;
+}