export declare function RestService(URL: string, config?: any): Promise;