export function prepareNextState(state: any, response: any): any; export function request(state: any, method: any, path: any, options?: {}): any;