1 | import { Call } from './call-stream';
|
2 | import { Channel } from './channel';
|
3 | import { BaseFilter, Filter, FilterFactory } from './filter';
|
4 | import { Metadata } from './metadata';
|
5 | export declare class CallCredentialsFilter extends BaseFilter implements Filter {
|
6 | private readonly channel;
|
7 | private readonly stream;
|
8 | private serviceUrl;
|
9 | constructor(channel: Channel, stream: Call);
|
10 | sendMetadata(metadata: Promise<Metadata>): Promise<Metadata>;
|
11 | }
|
12 | export declare class CallCredentialsFilterFactory implements FilterFactory<CallCredentialsFilter> {
|
13 | private readonly channel;
|
14 | constructor(channel: Channel);
|
15 | createFilter(callStream: Call): CallCredentialsFilter;
|
16 | }
|