import type { Long } from '@grpc/proto-loader'; export interface ActivityFailed { 'error_type'?: (string); 'error_message'?: (string); 'error_details'?: (Buffer | Uint8Array | string); /** * Optional server-side hint (e.g. from a 429/Retry-After response) that * overrides the retry policy's computed backoff for this attempt's retry * delay. 0 means absent — the policy's normal backoff curve applies. * Non-zero values are clamped to [1ms, 24h] by retry-core. Attempts still * count toward max_attempts; RateLimitError is retried like any other * error unless explicitly listed in non_retryable_errors. */ 'retry_after_ms'?: (number | string | Long); } export interface ActivityFailed__Output { 'error_type': (string); 'error_message': (string); 'error_details': (Buffer); /** * Optional server-side hint (e.g. from a 429/Retry-After response) that * overrides the retry policy's computed backoff for this attempt's retry * delay. 0 means absent — the policy's normal backoff curve applies. * Non-zero values are clamped to [1ms, 24h] by retry-core. Attempts still * count toward max_attempts; RateLimitError is retried like any other * error unless explicitly listed in non_retryable_errors. */ 'retry_after_ms': (string); }