import * as grpc from "@grpc/grpc-js"; import { LoggerOptions } from "../logger/LoggerOptions"; export type WorkflowClientOptions = { /** * Host location of the Dapr sidecar. * Default is 127.0.0.1. */ daprHost: string; /** * Port of the Dapr sidecar running a gRPC server. * Default is 50001. */ daprPort: string; /** * Options related to logging. */ logger?: LoggerOptions; /** * API token to authenticate with Dapr. * See https://docs.dapr.io/operations/security/api-token/. */ daprApiToken?: string; /** * options used when initializing a grpc Channel instance. */ grpcOptions?: grpc.ChannelOptions; };