import type { RetryPolicy as _memoflow_v1_RetryPolicy, RetryPolicy__Output as _memoflow_v1_RetryPolicy__Output } from '../../memoflow/v1/RetryPolicy.js'; import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../google/protobuf/Duration.js'; export interface ScheduleActivityCommand { 'step_seq'?: (number); 'activity_type'?: (string); 'task_queue'?: (string); 'input'?: (Buffer | Uint8Array | string); 'retry_policy'?: (_memoflow_v1_RetryPolicy | null); 'start_to_close_timeout'?: (_google_protobuf_Duration | null); 'heartbeat_timeout'?: (_google_protobuf_Duration | null); 'step_key'?: (string); /** * P5.3: best-effort dispatch priority among BACKLOGGED tasks in this * activity's (namespace, task_queue) — higher runs sooner. Default 0. * Not preemption, not cross-queue, not a fairness guarantee — see * StoreDispatcher/pending_tasks docs. From ActivityOptions.priority (SDK). */ 'priority'?: (number); } export interface ScheduleActivityCommand__Output { 'step_seq': (number); 'activity_type': (string); 'task_queue': (string); 'input': (Buffer); 'retry_policy': (_memoflow_v1_RetryPolicy__Output | null); 'start_to_close_timeout': (_google_protobuf_Duration__Output | null); 'heartbeat_timeout': (_google_protobuf_Duration__Output | null); 'step_key': (string); /** * P5.3: best-effort dispatch priority among BACKLOGGED tasks in this * activity's (namespace, task_queue) — higher runs sooner. Default 0. * Not preemption, not cross-queue, not a fairness guarantee — see * StoreDispatcher/pending_tasks docs. From ActivityOptions.priority (SDK). */ 'priority': (number); }