UNPKG

447 BTypeScriptView Raw
1import { ServiceDefinition } from './make-client';
2import { Server, UntypedServiceImplementation } from './server';
3interface GetServiceDefinition {
4 (): ServiceDefinition;
5}
6interface GetHandlers {
7 (): UntypedServiceImplementation;
8}
9export declare function registerAdminService(getServiceDefinition: GetServiceDefinition, getHandlers: GetHandlers): void;
10export declare function addAdminServicesToServer(server: Server): void;
11export {};