export async function invokeCloudFunction<TResult = any>(
  tc: Provider,
  name: string,
  data?: { [key: string]: any },
  options?: {