UNPKG

wechaty-puppet-service

Version:
23 lines 685 B
import { Puppet } from 'wechaty-puppet'; import { grpc } from 'wechaty-grpc'; import { UniformResourceNameRegistry } from 'file-box'; export interface PuppetServerOptions { endpoint: string; puppet: Puppet; token: string; tls?: { serverCert?: string; serverKey?: string; disable?: boolean; }; } export declare class PuppetServer { readonly options: PuppetServerOptions; protected grpcServer?: grpc.Server; protected urnRegistry?: UniformResourceNameRegistry; constructor(options: PuppetServerOptions); version(): string; start(): Promise<void>; stop(): Promise<void>; } //# sourceMappingURL=puppet-server.d.ts.map