UNPKG

@a11ywatch/core

Version:
16 lines (15 loc) 588 B
import type { GrpcObject, Client, ServiceClientConstructor, ProtobufTypeDefinition } from "@grpc/grpc-js"; declare type GRPC = GrpcObject | ServiceClientConstructor | ProtobufTypeDefinition; declare type RpcService = typeof Client & { [service: string]: any; }; export interface Service { WebsiteService?: RpcService; Mav?: RpcService; Cdn?: RpcService; Pagemind?: RpcService; crawler?: RpcService; } export declare const loadProto: (target?: string, retry?: boolean) => any; export declare const getProto: (target?: string) => Promise<Service & GRPC>; export {};