export declare function createChainableApi(name: string, Type: any, requestPromise: () => Promise, chainCallPromise?: () => Promise): any;