1 | import { MetadataScanner } from '@nestjs/core/metadata-scanner';
|
2 | import { Observable } from 'rxjs';
|
3 | import { NestGateway } from './interfaces/nest-gateway.interface';
|
4 | export interface MessageMappingProperties {
|
5 | message: any;
|
6 | methodName: string;
|
7 | callback: (...args: any[]) => Observable<any> | Promise<any> | any;
|
8 | }
|
9 | export declare class GatewayMetadataExplorer {
|
10 | private readonly metadataScanner;
|
11 | constructor(metadataScanner: MetadataScanner);
|
12 | explore(instance: NestGateway): MessageMappingProperties[];
|
13 | exploreMethodMetadata(instancePrototype: object, methodName: string): MessageMappingProperties;
|
14 | scanForServerHooks(instance: NestGateway): IterableIterator<string>;
|
15 | }
|