// Type definitions for crpc 0.2 // Project: https://github.com/billinghamj/crpc // Definitions by: Alexander Forbes-Reed // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.9 declare namespace crpc { type Client = (path: string, body: any, options?: {} | null) => Promise; } export = crpc; declare function crpc(baseUrl: string, options?: {}): crpc.Client;