export default function service(type: string, msg: any, cache: boolean, force_update_cache: boolean): Promise;