export type Callback = (err?: Error) => void; export type ServiceImplementation = (req: Req) => Res; export type Implementations = { [method: string]: ServiceImplementation }